Interface ServiceConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceConfiguration.Builder,
,ServiceConfiguration> SdkBuilder<ServiceConfiguration.Builder,
,ServiceConfiguration> SdkPojo
- Enclosing class:
ServiceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionacceptanceRequired
(Boolean acceptanceRequired) Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.availabilityZones
(String... availabilityZones) The Availability Zones in which the service is available.availabilityZones
(Collection<String> availabilityZones) The Availability Zones in which the service is available.baseEndpointDnsNames
(String... baseEndpointDnsNames) The DNS names for the service.baseEndpointDnsNames
(Collection<String> baseEndpointDnsNames) The DNS names for the service.gatewayLoadBalancerArns
(String... gatewayLoadBalancerArns) The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.gatewayLoadBalancerArns
(Collection<String> gatewayLoadBalancerArns) The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.managesVpcEndpoints
(Boolean managesVpcEndpoints) Indicates whether the service manages its VPC endpoints.networkLoadBalancerArns
(String... networkLoadBalancerArns) The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.networkLoadBalancerArns
(Collection<String> networkLoadBalancerArns) The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.payerResponsibility
(String payerResponsibility) The payer responsibility.payerResponsibility
(PayerResponsibility payerResponsibility) The payer responsibility.privateDnsName
(String privateDnsName) The private DNS name for the service.default ServiceConfiguration.Builder
privateDnsNameConfiguration
(Consumer<PrivateDnsNameConfiguration.Builder> privateDnsNameConfiguration) Information about the endpoint service private DNS name configuration.privateDnsNameConfiguration
(PrivateDnsNameConfiguration privateDnsNameConfiguration) Information about the endpoint service private DNS name configuration.remoteAccessEnabled
(Boolean remoteAccessEnabled) Indicates whether consumers can access the service from a Region other than the Region where the service is hosted.The ID of the service.serviceName
(String serviceName) The name of the service.serviceState
(String serviceState) The service state.serviceState
(ServiceState serviceState) The service state.serviceType
(Collection<ServiceTypeDetail> serviceType) The type of service.serviceType
(Consumer<ServiceTypeDetail.Builder>... serviceType) The type of service.serviceType
(ServiceTypeDetail... serviceType) The type of service.supportedIpAddressTypes
(Collection<ServiceConnectivityType> supportedIpAddressTypes) The supported IP address types.supportedIpAddressTypes
(ServiceConnectivityType... supportedIpAddressTypes) The supported IP address types.supportedIpAddressTypesWithStrings
(String... supportedIpAddressTypes) The supported IP address types.supportedIpAddressTypesWithStrings
(Collection<String> supportedIpAddressTypes) The supported IP address types.supportedRegions
(Collection<SupportedRegionDetail> supportedRegions) The supported Regions.supportedRegions
(Consumer<SupportedRegionDetail.Builder>... supportedRegions) The supported Regions.supportedRegions
(SupportedRegionDetail... supportedRegions) The supported Regions.tags
(Collection<Tag> tags) The tags assigned to the service.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the service.The tags assigned to the service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.
-
serviceType
The type of service.
This is a convenience method that creates an instance of theServiceTypeDetail.Builder
avoiding the need to create one manually viaServiceTypeDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceType(List<ServiceTypeDetail>)
.- Parameters:
serviceType
- a consumer that will call methods onServiceTypeDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-
serviceState
The service state.
- Parameters:
serviceState
- The service state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceState
The service state.
- Parameters:
serviceState
- The service state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
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
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
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
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
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
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.
-
privateDnsNameConfiguration
default ServiceConfiguration.Builder privateDnsNameConfiguration(Consumer<PrivateDnsNameConfiguration.Builder> privateDnsNameConfiguration) Information about the endpoint service private DNS name configuration.
This is a convenience method that creates an instance of thePrivateDnsNameConfiguration.Builder
avoiding the need to create one manually viaPrivateDnsNameConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprivateDnsNameConfiguration(PrivateDnsNameConfiguration)
.- Parameters:
privateDnsNameConfiguration
- a consumer that will call methods onPrivateDnsNameConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
payerResponsibility
The payer responsibility.
- Parameters:
payerResponsibility
- The payer responsibility.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
payerResponsibility
The payer responsibility.
- Parameters:
payerResponsibility
- The payer responsibility.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The tags assigned to the service.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportedRegions
The supported Regions.
- Parameters:
supportedRegions
- The supported Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRegions
The supported Regions.
- Parameters:
supportedRegions
- The supported Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRegions
ServiceConfiguration.Builder supportedRegions(Consumer<SupportedRegionDetail.Builder>... supportedRegions) The supported Regions.
This is a convenience method that creates an instance of theSupportedRegionDetail.Builder
avoiding the need to create one manually viaSupportedRegionDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosupportedRegions(List<SupportedRegionDetail>)
.- Parameters:
supportedRegions
- a consumer that will call methods onSupportedRegionDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remoteAccessEnabled
Indicates whether consumers can access the service from a Region other than the Region where the service is hosted.
- Parameters:
remoteAccessEnabled
- Indicates whether consumers can access the service from a Region other than the Region where the service is hosted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-