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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TargetInstances.BuilderautoScalingGroups(String... autoScalingGroups)The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.TargetInstances.BuilderautoScalingGroups(Collection<String> autoScalingGroups)The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.default TargetInstances.Builderec2TagSet(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.TargetInstances.Builderec2TagSet(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.TargetInstances.BuildertagFilters(Collection<EC2TagFilter> tagFilters)The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment.TargetInstances.BuildertagFilters(Consumer<EC2TagFilter.Builder>... tagFilters)The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment.TargetInstances.BuildertagFilters(EC2TagFilter... tagFilters)The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment.-
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
-
tagFilters
TargetInstances.Builder tagFilters(Collection<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 asec2TagSet.- 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 asec2TagSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
TargetInstances.Builder tagFilters(Consumer<EC2TagFilter.Builder>... 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
This is a convenience method that creates an instance of theec2TagSet.EC2TagFilter.Builderavoiding the need to create one manually viaEC2TagFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagFilters(List.) - Parameters:
tagFilters- a consumer that will call methods onEC2TagFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagFilters(java.util.Collection)
-
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 astagFilters.- 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
This is a convenience method that creates an instance of thetagFilters.EC2TagSet.Builderavoiding the need to create one manually viaEC2TagSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2TagSet(EC2TagSet).- Parameters:
ec2TagSet- a consumer that will call methods onEC2TagSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ec2TagSet(EC2TagSet)
-
-