public static interface AttachInstancesToLoadBalancerRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<AttachInstancesToLoadBalancerRequest.Builder,AttachInstancesToLoadBalancerRequest>
| Modifier and Type | Method and Description |
|---|---|
AttachInstancesToLoadBalancerRequest.Builder |
instanceNames(Collection<String> instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
|
AttachInstancesToLoadBalancerRequest.Builder |
instanceNames(String... instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
|
AttachInstancesToLoadBalancerRequest.Builder |
loadBalancerName(String loadBalancerName)
The name of the load balancer.
|
AttachInstancesToLoadBalancerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AttachInstancesToLoadBalancerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationcopyapplyMutation, buildAttachInstancesToLoadBalancerRequest.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName - The name of the load balancer.AttachInstancesToLoadBalancerRequest.Builder instanceNames(Collection<String> instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
instanceNames - An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
AttachInstancesToLoadBalancerRequest.Builder instanceNames(String... instanceNames)
An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
instanceNames - An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running before you can attach it to your load balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
AttachInstancesToLoadBalancerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.AttachInstancesToLoadBalancerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.