@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)
Marshalls this structured data using the given
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; 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_5331public 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_5331public 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_5331public 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.