@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrganizationEventDetails extends Object implements Serializable, Cloneable, StructuredPojo
Detailed information about an event. A combination of an Event object, an EventDescription object, and additional metadata about the event. Returned by the DescribeEventDetailsForOrganization operation.
| Constructor and Description | 
|---|
| OrganizationEventDetails() | 
| Modifier and Type | Method and Description | 
|---|---|
| OrganizationEventDetails | addEventMetadataEntry(String key,
                     String value)Add a single EventMetadata entry | 
| OrganizationEventDetails | clearEventMetadataEntries()Removes all the entries added into EventMetadata. | 
| OrganizationEventDetails | clone() | 
| boolean | equals(Object obj) | 
| String | getAwsAccountId()
 The 12-digit Amazon Web Services account numbers that contains the affected entities. | 
| Event | getEvent() | 
| EventDescription | getEventDescription() | 
| Map<String,String> | getEventMetadata()
 Additional metadata about the event. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAwsAccountId(String awsAccountId)
 The 12-digit Amazon Web Services account numbers that contains the affected entities. | 
| void | setEvent(Event event) | 
| void | setEventDescription(EventDescription eventDescription) | 
| void | setEventMetadata(Map<String,String> eventMetadata)
 Additional metadata about the event. | 
| String | toString()Returns a string representation of this object. | 
| OrganizationEventDetails | withAwsAccountId(String awsAccountId)
 The 12-digit Amazon Web Services account numbers that contains the affected entities. | 
| OrganizationEventDetails | withEvent(Event event) | 
| OrganizationEventDetails | withEventDescription(EventDescription eventDescription) | 
| OrganizationEventDetails | withEventMetadata(Map<String,String> eventMetadata)
 Additional metadata about the event. | 
public void setAwsAccountId(String awsAccountId)
The 12-digit Amazon Web Services account numbers that contains the affected entities.
awsAccountId - The 12-digit Amazon Web Services account numbers that contains the affected entities.public String getAwsAccountId()
The 12-digit Amazon Web Services account numbers that contains the affected entities.
public OrganizationEventDetails withAwsAccountId(String awsAccountId)
The 12-digit Amazon Web Services account numbers that contains the affected entities.
awsAccountId - The 12-digit Amazon Web Services account numbers that contains the affected entities.public void setEvent(Event event)
event - public Event getEvent()
public OrganizationEventDetails withEvent(Event event)
event - public void setEventDescription(EventDescription eventDescription)
eventDescription - public EventDescription getEventDescription()
public OrganizationEventDetails withEventDescription(EventDescription eventDescription)
eventDescription - public Map<String,String> getEventMetadata()
Additional metadata about the event.
public void setEventMetadata(Map<String,String> eventMetadata)
Additional metadata about the event.
eventMetadata - Additional metadata about the event.public OrganizationEventDetails withEventMetadata(Map<String,String> eventMetadata)
Additional metadata about the event.
eventMetadata - Additional metadata about the event.public OrganizationEventDetails addEventMetadataEntry(String key, String value)
public OrganizationEventDetails clearEventMetadataEntries()
public String toString()
toString in class ObjectObject.toString()public OrganizationEventDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.