Interface ServiceConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceConfiguration.Builder,ServiceConfiguration>,SdkBuilder<ServiceConfiguration.Builder,ServiceConfiguration>,SdkPojo
- Enclosing class:
- ServiceConfiguration
@Mutable @NotThreadSafe 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.BuilderacceptanceRequired(Boolean acceptanceRequired)Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.ServiceConfiguration.BuilderavailabilityZoneIds(String... availabilityZoneIds)The IDs of the Availability Zones in which the service is available.ServiceConfiguration.BuilderavailabilityZoneIds(Collection<String> availabilityZoneIds)The IDs of the Availability Zones in which the service is available.ServiceConfiguration.BuilderavailabilityZones(String... availabilityZones)The Availability Zones in which the service is available.ServiceConfiguration.BuilderavailabilityZones(Collection<String> availabilityZones)The Availability Zones in which the service is available.ServiceConfiguration.BuilderbaseEndpointDnsNames(String... baseEndpointDnsNames)The DNS names for the service.ServiceConfiguration.BuilderbaseEndpointDnsNames(Collection<String> baseEndpointDnsNames)The DNS names for the service.ServiceConfiguration.BuildergatewayLoadBalancerArns(String... gatewayLoadBalancerArns)The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.ServiceConfiguration.BuildergatewayLoadBalancerArns(Collection<String> gatewayLoadBalancerArns)The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.ServiceConfiguration.BuildermanagesVpcEndpoints(Boolean managesVpcEndpoints)Indicates whether the service manages its VPC endpoints.ServiceConfiguration.BuildernetworkLoadBalancerArns(String... networkLoadBalancerArns)The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.ServiceConfiguration.BuildernetworkLoadBalancerArns(Collection<String> networkLoadBalancerArns)The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.ServiceConfiguration.BuilderpayerResponsibility(String payerResponsibility)The payer responsibility.ServiceConfiguration.BuilderpayerResponsibility(PayerResponsibility payerResponsibility)The payer responsibility.ServiceConfiguration.BuilderprivateDnsName(String privateDnsName)The private DNS name for the service.default ServiceConfiguration.BuilderprivateDnsNameConfiguration(Consumer<PrivateDnsNameConfiguration.Builder> privateDnsNameConfiguration)Information about the endpoint service private DNS name configuration.ServiceConfiguration.BuilderprivateDnsNameConfiguration(PrivateDnsNameConfiguration privateDnsNameConfiguration)Information about the endpoint service private DNS name configuration.ServiceConfiguration.BuilderremoteAccessEnabled(Boolean remoteAccessEnabled)Indicates whether consumers can access the service from a Region other than the Region where the service is hosted.ServiceConfiguration.BuilderserviceId(String serviceId)The ID of the service.ServiceConfiguration.BuilderserviceName(String serviceName)The name of the service.ServiceConfiguration.BuilderserviceState(String serviceState)The service state.ServiceConfiguration.BuilderserviceState(ServiceState serviceState)The service state.ServiceConfiguration.BuilderserviceType(Collection<ServiceTypeDetail> serviceType)The type of service.ServiceConfiguration.BuilderserviceType(Consumer<ServiceTypeDetail.Builder>... serviceType)The type of service.ServiceConfiguration.BuilderserviceType(ServiceTypeDetail... serviceType)The type of service.ServiceConfiguration.BuildersupportedIpAddressTypes(Collection<ServiceConnectivityType> supportedIpAddressTypes)The supported IP address types.ServiceConfiguration.BuildersupportedIpAddressTypes(ServiceConnectivityType... supportedIpAddressTypes)The supported IP address types.ServiceConfiguration.BuildersupportedIpAddressTypesWithStrings(String... supportedIpAddressTypes)The supported IP address types.ServiceConfiguration.BuildersupportedIpAddressTypesWithStrings(Collection<String> supportedIpAddressTypes)The supported IP address types.ServiceConfiguration.BuildersupportedRegions(Collection<SupportedRegionDetail> supportedRegions)The supported Regions.ServiceConfiguration.BuildersupportedRegions(Consumer<SupportedRegionDetail.Builder>... supportedRegions)The supported Regions.ServiceConfiguration.BuildersupportedRegions(SupportedRegionDetail... supportedRegions)The supported Regions.ServiceConfiguration.Buildertags(Collection<Tag> tags)The tags assigned to the service.ServiceConfiguration.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the service.ServiceConfiguration.Buildertags(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaServiceTypeDetail.builder().When the
Consumercompletes,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
-
availabilityZoneIds
ServiceConfiguration.Builder availabilityZoneIds(Collection<String> availabilityZoneIds)
The IDs of the Availability Zones in which the service is available.
Either
AvailabilityZoneorAvailabilityZoneIdcan be specified, but not both- Parameters:
availabilityZoneIds- The IDs of the Availability Zones in which the service is available.Either
AvailabilityZoneorAvailabilityZoneIdcan be specified, but not both- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneIds
ServiceConfiguration.Builder availabilityZoneIds(String... availabilityZoneIds)
The IDs of the Availability Zones in which the service is available.
Either
AvailabilityZoneorAvailabilityZoneIdcan be specified, but not both- Parameters:
availabilityZoneIds- The IDs of the Availability Zones in which the service is available.Either
AvailabilityZoneorAvailabilityZoneIdcan be specified, but not both- 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.
Either
AvailabilityZoneorAvailabilityZoneIdcan be specified, but not both- Parameters:
availabilityZones- The Availability Zones in which the service is available.Either
AvailabilityZoneorAvailabilityZoneIdcan be specified, but not both- 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.
Either
AvailabilityZoneorAvailabilityZoneIdcan be specified, but not both- Parameters:
availabilityZones- The Availability Zones in which the service is available.Either
AvailabilityZoneorAvailabilityZoneIdcan be specified, but not both- 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.Builderavoiding the need to create one manually viaPrivateDnsNameConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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)
-
supportedRegions
ServiceConfiguration.Builder supportedRegions(Collection<SupportedRegionDetail> 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(SupportedRegionDetail... 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.Builderavoiding the need to create one manually viaSupportedRegionDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#supportedRegions(List.) - 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:
#supportedRegions(java.util.Collection)
-
remoteAccessEnabled
ServiceConfiguration.Builder remoteAccessEnabled(Boolean 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.
-
-