@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.
|
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) |
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 |
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 |
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.
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.
tagFilters - The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for
a blue/green deployment.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.
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.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.
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<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 String toString()
toString in class ObjectObject.toString()public TargetInstances clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.