@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityAggregate extends Object implements Serializable, Cloneable, StructuredPojo
The number of entities that are affected by one or more events. Returned by the DescribeEntityAggregates operation.
| Constructor and Description |
|---|
EntityAggregate() |
| Modifier and Type | Method and Description |
|---|---|
EntityAggregate |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number entities that match the criteria for the specified events.
|
String |
getEventArn()
The unique identifier for the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCount(Integer count)
The number entities that match the criteria for the specified events.
|
void |
setEventArn(String eventArn)
The unique identifier for the event.
|
String |
toString()
Returns a string representation of this object.
|
EntityAggregate |
withCount(Integer count)
The number entities that match the criteria for the specified events.
|
EntityAggregate |
withEventArn(String eventArn)
The unique identifier for the event.
|
public void setEventArn(String eventArn)
The unique identifier for the event. Format:
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
. Example:
Example: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
eventArn - The unique identifier for the event. Format:
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
. Example:
Example: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456public String getEventArn()
The unique identifier for the event. Format:
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
. Example:
Example: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
. Example:
Example: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456public EntityAggregate withEventArn(String eventArn)
The unique identifier for the event. Format:
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
. Example:
Example: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
eventArn - The unique identifier for the event. Format:
arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
. Example:
Example: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456public void setCount(Integer count)
The number entities that match the criteria for the specified events.
count - The number entities that match the criteria for the specified events.public Integer getCount()
The number entities that match the criteria for the specified events.
public EntityAggregate withCount(Integer count)
The number entities that match the criteria for the specified events.
count - The number entities that match the criteria for the specified events.public String toString()
toString in class ObjectObject.toString()public EntityAggregate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.