@Generated(value="software.amazon.awssdk:codegen") public final class AssociationOverview extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssociationOverview.Builder,AssociationOverview>
Information about the association.
Modifier and Type | Class and Description |
---|---|
static interface |
AssociationOverview.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,Integer> |
associationStatusAggregatedCount()
Returns the number of targets for the association status.
|
static AssociationOverview.Builder |
builder() |
String |
detailedStatus()
A detailed status of the association.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAssociationStatusAggregatedCount()
Returns true if the AssociationStatusAggregatedCount property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociationOverview.Builder> |
serializableBuilderClass() |
String |
status()
The status of the association.
|
AssociationOverview.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String status()
The status of the association. Status can be: Pending, Success, or Failed.
public final String detailedStatus()
A detailed status of the association.
public final boolean hasAssociationStatusAggregatedCount()
public final Map<String,Integer> associationStatusAggregatedCount()
Returns the number of targets for the association status. For example, if you created an association with two instances, and one of them was successful, this would return the count of instances by status.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAssociationStatusAggregatedCount()
to see if a value was sent in this field.
public AssociationOverview.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AssociationOverview.Builder,AssociationOverview>
public static AssociationOverview.Builder builder()
public static Class<? extends AssociationOverview.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.