Interface ServiceConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceConfiguration.Builder,ServiceConfiguration>
,SdkBuilder<ServiceConfiguration.Builder,ServiceConfiguration>
,SdkPojo
- Enclosing class:
- ServiceConfiguration
public static interface ServiceConfiguration.Builder extends SdkPojo, CopyableBuilder<ServiceConfiguration.Builder,ServiceConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description 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.ServiceConfiguration.Builder
availabilityZones(String... availabilityZones)
The Availability Zones in which the service is available.ServiceConfiguration.Builder
availabilityZones(Collection<String> availabilityZones)
The Availability Zones in which the service is available.ServiceConfiguration.Builder
baseEndpointDnsNames(String... baseEndpointDnsNames)
The DNS names for the service.ServiceConfiguration.Builder
baseEndpointDnsNames(Collection<String> baseEndpointDnsNames)
The DNS names for the service.ServiceConfiguration.Builder
gatewayLoadBalancerArns(String... gatewayLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.ServiceConfiguration.Builder
gatewayLoadBalancerArns(Collection<String> gatewayLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.ServiceConfiguration.Builder
managesVpcEndpoints(Boolean managesVpcEndpoints)
Indicates whether the service manages its VPC endpoints.ServiceConfiguration.Builder
networkLoadBalancerArns(String... networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.ServiceConfiguration.Builder
networkLoadBalancerArns(Collection<String> networkLoadBalancerArns)
The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.ServiceConfiguration.Builder
payerResponsibility(String payerResponsibility)
The payer responsibility.ServiceConfiguration.Builder
payerResponsibility(PayerResponsibility payerResponsibility)
The payer responsibility.ServiceConfiguration.Builder
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.ServiceConfiguration.Builder
privateDnsNameConfiguration(PrivateDnsNameConfiguration privateDnsNameConfiguration)
Information about the endpoint service private DNS name configuration.ServiceConfiguration.Builder
serviceId(String serviceId)
The ID of the service.ServiceConfiguration.Builder
serviceName(String serviceName)
The name of the service.ServiceConfiguration.Builder
serviceState(String serviceState)
The service state.ServiceConfiguration.Builder
serviceState(ServiceState serviceState)
The service state.ServiceConfiguration.Builder
serviceType(Collection<ServiceTypeDetail> serviceType)
The type of service.ServiceConfiguration.Builder
serviceType(Consumer<ServiceTypeDetail.Builder>... serviceType)
The type of service.ServiceConfiguration.Builder
serviceType(ServiceTypeDetail... serviceType)
The type of service.ServiceConfiguration.Builder
supportedIpAddressTypes(Collection<ServiceConnectivityType> supportedIpAddressTypes)
The supported IP address types.ServiceConfiguration.Builder
supportedIpAddressTypes(ServiceConnectivityType... supportedIpAddressTypes)
The supported IP address types.ServiceConfiguration.Builder
supportedIpAddressTypesWithStrings(String... supportedIpAddressTypes)
The supported IP address types.ServiceConfiguration.Builder
supportedIpAddressTypesWithStrings(Collection<String> supportedIpAddressTypes)
The supported IP address types.ServiceConfiguration.Builder
tags(Collection<Tag> tags)
The tags assigned to the service.ServiceConfiguration.Builder
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the service.ServiceConfiguration.Builder
tags(Tag... tags)
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, sdkFields
-
-
-
-
Method Detail
-
serviceType
ServiceConfiguration.Builder serviceType(Collection<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.
-
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.
-
serviceType
ServiceConfiguration.Builder serviceType(Consumer<ServiceTypeDetail.Builder>... 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 to#serviceType(List
.) - 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:
#serviceType(java.util.Collection
)
-
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.
-
serviceState
ServiceConfiguration.Builder serviceState(String 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
,ServiceState
-
serviceState
ServiceConfiguration.Builder serviceState(ServiceState 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
,ServiceState
-
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.
-
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:
privateDnsNameConfiguration(PrivateDnsNameConfiguration)
-
payerResponsibility
ServiceConfiguration.Builder payerResponsibility(String 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
,PayerResponsibility
-
payerResponsibility
ServiceConfiguration.Builder payerResponsibility(PayerResponsibility 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
,PayerResponsibility
-
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 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-