Interface TargetInstances.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TargetInstances.Builder,TargetInstances>, SdkBuilder<TargetInstances.Builder,TargetInstances>, SdkPojo
Enclosing class:
TargetInstances

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

    • tagFilters

      The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

      Parameters:
      tagFilters - The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      TargetInstances.Builder tagFilters(EC2TagFilter... tagFilters)

      The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

      Parameters:
      tagFilters - The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

      This is a convenience method that creates an instance of the EC2TagFilter.Builder avoiding the need to create one manually via EC2TagFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagFilters(List<EC2TagFilter>).

      Parameters:
      tagFilters - a consumer that will call methods on EC2TagFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoScalingGroups

      TargetInstances.Builder autoScalingGroups(Collection<String> autoScalingGroups)

      The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.

      Parameters:
      autoScalingGroups - The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoScalingGroups

      TargetInstances.Builder autoScalingGroups(String... autoScalingGroups)

      The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.

      Parameters:
      autoScalingGroups - The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2TagSet

      TargetInstances.Builder ec2TagSet(EC2TagSet ec2TagSet)

      Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.

      Parameters:
      ec2TagSet - Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2TagSet

      default TargetInstances.Builder ec2TagSet(Consumer<EC2TagSet.Builder> ec2TagSet)

      Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.

      This is a convenience method that creates an instance of the EC2TagSet.Builder avoiding the need to create one manually via EC2TagSet.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ec2TagSet(EC2TagSet).

      Parameters:
      ec2TagSet - a consumer that will call methods on EC2TagSet.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: