Interface TargetInstances.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetInstances.Builder,,TargetInstances> SdkBuilder<TargetInstances.Builder,,TargetInstances> SdkPojo
- Enclosing class:
TargetInstances
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroups(String... autoScalingGroups) The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.autoScalingGroups(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.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.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.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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 asec2TagSet.- 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.- 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
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 totagFilters(List<EC2TagFilter>).- 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:
-
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
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
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
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:
-