Interface DomainOverride.Builder

  • Method Details

    • defaultDomain

      DomainOverride.Builder defaultDomain(String defaultDomain)

      The default public domain name for the gateway. The gateway advertises this domain when a request doesn't select a specific domain.

      Parameters:
      defaultDomain - The default public domain name for the gateway. The gateway advertises this domain when a request doesn't select a specific domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alternateDomains

      DomainOverride.Builder alternateDomains(Collection<String> alternateDomains)

      Additional public domain names for the gateway, up to 10. Don't repeat the default domain or list a domain more than once. A request can select one of these domains, or the default domain, with the x-amzn-bedrock-agentcore-gateway-domain header. The gateway rejects a request that selects a domain that isn't configured.

      Parameters:
      alternateDomains - Additional public domain names for the gateway, up to 10. Don't repeat the default domain or list a domain more than once. A request can select one of these domains, or the default domain, with the x-amzn-bedrock-agentcore-gateway-domain header. The gateway rejects a request that selects a domain that isn't configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alternateDomains

      DomainOverride.Builder alternateDomains(String... alternateDomains)

      Additional public domain names for the gateway, up to 10. Don't repeat the default domain or list a domain more than once. A request can select one of these domains, or the default domain, with the x-amzn-bedrock-agentcore-gateway-domain header. The gateway rejects a request that selects a domain that isn't configured.

      Parameters:
      alternateDomains - Additional public domain names for the gateway, up to 10. Don't repeat the default domain or list a domain more than once. A request can select one of these domains, or the default domain, with the x-amzn-bedrock-agentcore-gateway-domain header. The gateway rejects a request that selects a domain that isn't configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.