Interface AttachInstancesToLoadBalancerRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<AttachInstancesToLoadBalancerRequest.Builder,AttachInstancesToLoadBalancerRequest>, LightsailRequest.Builder, SdkBuilder<AttachInstancesToLoadBalancerRequest.Builder,AttachInstancesToLoadBalancerRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
AttachInstancesToLoadBalancerRequest

public static interface AttachInstancesToLoadBalancerRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<AttachInstancesToLoadBalancerRequest.Builder,AttachInstancesToLoadBalancerRequest>
  • Method Details

    • loadBalancerName

      AttachInstancesToLoadBalancerRequest.Builder loadBalancerName(String 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.
    • 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).

      Parameters:
      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).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceNames

      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).

      Parameters:
      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).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.