Interface ServiceConfiguration.Builder

    • Method Detail

      • serviceType

        ServiceConfiguration.Builder serviceType​(ServiceTypeDetail... serviceType)

        The type of service.

        Parameters:
        serviceType - The type of service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceId

        ServiceConfiguration.Builder serviceId​(String serviceId)

        The ID of the service.

        Parameters:
        serviceId - The ID of the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        ServiceConfiguration.Builder serviceName​(String serviceName)

        The name of the service.

        Parameters:
        serviceName - The name of the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZones

        ServiceConfiguration.Builder availabilityZones​(Collection<String> availabilityZones)

        The Availability Zones in which the service is available.

        Parameters:
        availabilityZones - The Availability Zones in which the service is available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZones

        ServiceConfiguration.Builder availabilityZones​(String... availabilityZones)

        The Availability Zones in which the service is available.

        Parameters:
        availabilityZones - The Availability Zones in which the service is available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • acceptanceRequired

        ServiceConfiguration.Builder acceptanceRequired​(Boolean acceptanceRequired)

        Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.

        Parameters:
        acceptanceRequired - Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managesVpcEndpoints

        ServiceConfiguration.Builder managesVpcEndpoints​(Boolean managesVpcEndpoints)

        Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.

        Parameters:
        managesVpcEndpoints - Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkLoadBalancerArns

        ServiceConfiguration.Builder networkLoadBalancerArns​(Collection<String> networkLoadBalancerArns)

        The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.

        Parameters:
        networkLoadBalancerArns - The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkLoadBalancerArns

        ServiceConfiguration.Builder networkLoadBalancerArns​(String... networkLoadBalancerArns)

        The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.

        Parameters:
        networkLoadBalancerArns - The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gatewayLoadBalancerArns

        ServiceConfiguration.Builder gatewayLoadBalancerArns​(Collection<String> gatewayLoadBalancerArns)

        The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

        Parameters:
        gatewayLoadBalancerArns - The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gatewayLoadBalancerArns

        ServiceConfiguration.Builder gatewayLoadBalancerArns​(String... gatewayLoadBalancerArns)

        The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

        Parameters:
        gatewayLoadBalancerArns - The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedIpAddressTypesWithStrings

        ServiceConfiguration.Builder supportedIpAddressTypesWithStrings​(Collection<String> supportedIpAddressTypes)

        The supported IP address types.

        Parameters:
        supportedIpAddressTypes - The supported IP address types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedIpAddressTypesWithStrings

        ServiceConfiguration.Builder supportedIpAddressTypesWithStrings​(String... supportedIpAddressTypes)

        The supported IP address types.

        Parameters:
        supportedIpAddressTypes - The supported IP address types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedIpAddressTypes

        ServiceConfiguration.Builder supportedIpAddressTypes​(Collection<ServiceConnectivityType> supportedIpAddressTypes)

        The supported IP address types.

        Parameters:
        supportedIpAddressTypes - The supported IP address types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedIpAddressTypes

        ServiceConfiguration.Builder supportedIpAddressTypes​(ServiceConnectivityType... supportedIpAddressTypes)

        The supported IP address types.

        Parameters:
        supportedIpAddressTypes - The supported IP address types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • baseEndpointDnsNames

        ServiceConfiguration.Builder baseEndpointDnsNames​(Collection<String> baseEndpointDnsNames)

        The DNS names for the service.

        Parameters:
        baseEndpointDnsNames - The DNS names for the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • baseEndpointDnsNames

        ServiceConfiguration.Builder baseEndpointDnsNames​(String... baseEndpointDnsNames)

        The DNS names for the service.

        Parameters:
        baseEndpointDnsNames - The DNS names for the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateDnsName

        ServiceConfiguration.Builder privateDnsName​(String privateDnsName)

        The private DNS name for the service.

        Parameters:
        privateDnsName - The private DNS name for the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateDnsNameConfiguration

        ServiceConfiguration.Builder privateDnsNameConfiguration​(PrivateDnsNameConfiguration privateDnsNameConfiguration)

        Information about the endpoint service private DNS name configuration.

        Parameters:
        privateDnsNameConfiguration - Information about the endpoint service private DNS name configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ServiceConfiguration.Builder tags​(Collection<Tag> tags)

        The tags assigned to the service.

        Parameters:
        tags - The tags assigned to the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ServiceConfiguration.Builder tags​(Tag... tags)

        The tags assigned to the service.

        Parameters:
        tags - The tags assigned to the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ServiceConfiguration.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags assigned to the service.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)