@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociationOverview extends Object implements Serializable, Cloneable
Information about the association.
Constructor and Description |
---|
AssociationOverview() |
Modifier and Type | Method and Description |
---|---|
AssociationOverview |
addAssociationStatusAggregatedCountEntry(String key,
Integer value) |
AssociationOverview |
clearAssociationStatusAggregatedCountEntries()
Removes all the entries added into AssociationStatusAggregatedCount.
|
AssociationOverview |
clone() |
boolean |
equals(Object obj) |
Map<String,Integer> |
getAssociationStatusAggregatedCount()
Returns the number of targets for the association status.
|
String |
getDetailedStatus()
A detailed status of the association.
|
String |
getStatus()
The status of the association.
|
int |
hashCode() |
void |
setAssociationStatusAggregatedCount(Map<String,Integer> associationStatusAggregatedCount)
Returns the number of targets for the association status.
|
void |
setDetailedStatus(String detailedStatus)
A detailed status of the association.
|
void |
setStatus(String status)
The status of the association.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AssociationOverview |
withAssociationStatusAggregatedCount(Map<String,Integer> associationStatusAggregatedCount)
Returns the number of targets for the association status.
|
AssociationOverview |
withDetailedStatus(String detailedStatus)
A detailed status of the association.
|
AssociationOverview |
withStatus(String status)
The status of the association.
|
public void setStatus(String status)
The status of the association. Status can be: Pending
, Success
, or Failed
.
status
- The status of the association. Status can be: Pending
, Success
, or
Failed
.public String getStatus()
The status of the association. Status can be: Pending
, Success
, or Failed
.
Pending
, Success
, or
Failed
.public AssociationOverview withStatus(String status)
The status of the association. Status can be: Pending
, Success
, or Failed
.
status
- The status of the association. Status can be: Pending
, Success
, or
Failed
.public void setDetailedStatus(String detailedStatus)
A detailed status of the association.
detailedStatus
- A detailed status of the association.public String getDetailedStatus()
A detailed status of the association.
public AssociationOverview withDetailedStatus(String detailedStatus)
A detailed status of the association.
detailedStatus
- A detailed status of the association.public Map<String,Integer> getAssociationStatusAggregatedCount()
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.
public void setAssociationStatusAggregatedCount(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.
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.public AssociationOverview withAssociationStatusAggregatedCount(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.
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.public AssociationOverview addAssociationStatusAggregatedCountEntry(String key, Integer value)
public AssociationOverview clearAssociationStatusAggregatedCountEntries()
public String toString()
toString
in class Object
Object.toString()
public AssociationOverview clone()
Copyright © 2017. All rights reserved.