@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityAggregate extends Object implements Serializable, Cloneable
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 |
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; useful for testing and debugging.
|
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/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
eventArn
- The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
public String getEventArn()
The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
public EntityAggregate withEventArn(String eventArn)
The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
eventArn
- The unique identifier for the event. Format:
arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID
. Example:
arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331
public 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 Object
Object.toString()
public EntityAggregate clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.