@Generated(value="software.amazon.awssdk:codegen") public final class TargetInstances extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetInstances.Builder,TargetInstances>
Information about the instances to be used in the replacement environment in a blue/green deployment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetInstances.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
autoScalingGroups()
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
|
static TargetInstances.Builder |
builder() |
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.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAutoScalingGroups()
For responses, this returns true if the service returned a value for the AutoScalingGroups property.
|
int |
hashCode() |
boolean |
hasTagFilters()
For responses, this returns true if the service returned a value for the TagFilters property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TargetInstances.Builder> |
serializableBuilderClass() |
List<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 |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasTagFilters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTagFilters() method.
ec2TagSet.public final boolean hasAutoScalingGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> autoScalingGroups()
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAutoScalingGroups() method.
public final 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.
tagFilters.public TargetInstances.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TargetInstances.Builder,TargetInstances>public static TargetInstances.Builder builder()
public static Class<? extends TargetInstances.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.