public static interface TargetInstances.Builder extends CopyableBuilder<TargetInstances.Builder,TargetInstances>
Modifier and Type | Method and Description |
---|---|
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.
|
TargetInstances.Builder |
autoScalingGroups(String... autoScalingGroups)
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green
deployment.
|
default TargetInstances.Builder |
ec2TagSet(Consumer<EC2TagSet.Builder> ec2TagSet)
Information about the groups of 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.Builder |
ec2TagSet(EC2TagSet ec2TagSet)
Information about the groups of 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.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.
|
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.
|
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.
|
copy
applyMutation, build
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.
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.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.
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.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 ec2TagSet.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #tagFilters(List)
.tagFilters
- a consumer that will call methods on List.Builder
#tagFilters(List)
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.
autoScalingGroups
- The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green
deployment.TargetInstances.Builder autoScalingGroups(String... autoScalingGroups)
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
autoScalingGroups
- The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green
deployment.TargetInstances.Builder ec2TagSet(EC2TagSet ec2TagSet)
Information about the groups of 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.
ec2TagSet
- Information about the groups of 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.default TargetInstances.Builder ec2TagSet(Consumer<EC2TagSet.Builder> ec2TagSet)
Information about the groups of 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 that creates an instance of theEC2TagSet.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)
.ec2TagSet
- a consumer that will call methods on EC2TagSet.Builder
ec2TagSet(EC2TagSet)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.