@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetInstances extends Object implements Serializable, Cloneable, StructuredPojo
Information about the instances to be used in the replacement environment in a blue/green deployment.
Constructor and Description |
---|
TargetInstances() |
Modifier and Type | Method and Description |
---|---|
TargetInstances |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAutoScalingGroups()
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
|
EC2TagSet |
getEc2TagSet()
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.
|
List<EC2TagFilter> |
getTagFilters()
The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a
blue/green deployment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoScalingGroups(Collection<String> autoScalingGroups)
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
|
void |
setEc2TagSet(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.
|
void |
setTagFilters(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TargetInstances |
withAutoScalingGroups(Collection<String> autoScalingGroups)
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
|
TargetInstances |
withAutoScalingGroups(String... autoScalingGroups)
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
|
TargetInstances |
withEc2TagSet(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 |
withTagFilters(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 |
withTagFilters(EC2TagFilter... tagFilters)
The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a
blue/green deployment.
|
public List<EC2TagFilter> getTagFilters()
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.
public void setTagFilters(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.public TargetInstances withTagFilters(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.
NOTE: This method appends the values to the existing list (if any). Use
setTagFilters(java.util.Collection)
or withTagFilters(java.util.Collection)
if you want to
override the existing values.
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.public TargetInstances withTagFilters(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.public List<String> getAutoScalingGroups()
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
public void setAutoScalingGroups(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.public TargetInstances withAutoScalingGroups(String... autoScalingGroups)
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
NOTE: This method appends the values to the existing list (if any). Use
setAutoScalingGroups(java.util.Collection)
or withAutoScalingGroups(java.util.Collection)
if
you want to override the existing values.
autoScalingGroups
- The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green
deployment.public TargetInstances withAutoScalingGroups(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.public void setEc2TagSet(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.public EC2TagSet getEc2TagSet()
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.
public TargetInstances withEc2TagSet(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.public String toString()
toString
in class Object
Object.toString()
public TargetInstances clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.