Interface AttachLoadBalancerToSubnetsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AttachLoadBalancerToSubnetsRequest.Builder,,AttachLoadBalancerToSubnetsRequest> ElasticLoadBalancingRequest.Builder,SdkBuilder<AttachLoadBalancerToSubnetsRequest.Builder,,AttachLoadBalancerToSubnetsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AttachLoadBalancerToSubnetsRequest
@Mutable
@NotThreadSafe
public static interface AttachLoadBalancerToSubnetsRequest.Builder
extends ElasticLoadBalancingRequest.Builder, SdkPojo, CopyableBuilder<AttachLoadBalancerToSubnetsRequest.Builder,AttachLoadBalancerToSubnetsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionloadBalancerName(String loadBalancerName) The name of the load balancer.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The IDs of the subnets to add.subnets(Collection<String> subnets) The IDs of the subnets to add.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancing.model.ElasticLoadBalancingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
loadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
- Parameters:
subnets- The IDs of the subnets to add. You can add only one subnet per Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
- Parameters:
subnets- The IDs of the subnets to add. You can add only one subnet per Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AttachLoadBalancerToSubnetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AttachLoadBalancerToSubnetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-