@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventConfigurationItem extends Object implements Serializable, Cloneable, StructuredPojo
Event configuration object for a single resource.
Constructor and Description |
---|
EventConfigurationItem() |
Modifier and Type | Method and Description |
---|---|
EventConfigurationItem |
clone() |
boolean |
equals(Object obj) |
EventNotificationItemConfigurations |
getEvents() |
String |
getIdentifier()
Resource identifier opted in for event messaging.
|
String |
getIdentifierType()
Identifier type of the particular resource identifier for event configuration.
|
String |
getPartnerType()
Partner type of the resource if the identifier type is PartnerAccountId.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEvents(EventNotificationItemConfigurations events) |
void |
setIdentifier(String identifier)
Resource identifier opted in for event messaging.
|
void |
setIdentifierType(String identifierType)
Identifier type of the particular resource identifier for event configuration.
|
void |
setPartnerType(String partnerType)
Partner type of the resource if the identifier type is PartnerAccountId.
|
String |
toString()
Returns a string representation of this object.
|
EventConfigurationItem |
withEvents(EventNotificationItemConfigurations events) |
EventConfigurationItem |
withIdentifier(String identifier)
Resource identifier opted in for event messaging.
|
EventConfigurationItem |
withIdentifierType(IdentifierType identifierType)
Identifier type of the particular resource identifier for event configuration.
|
EventConfigurationItem |
withIdentifierType(String identifierType)
Identifier type of the particular resource identifier for event configuration.
|
EventConfigurationItem |
withPartnerType(EventNotificationPartnerType partnerType)
Partner type of the resource if the identifier type is PartnerAccountId.
|
EventConfigurationItem |
withPartnerType(String partnerType)
Partner type of the resource if the identifier type is PartnerAccountId.
|
public void setIdentifier(String identifier)
Resource identifier opted in for event messaging.
identifier
- Resource identifier opted in for event messaging.public String getIdentifier()
Resource identifier opted in for event messaging.
public EventConfigurationItem withIdentifier(String identifier)
Resource identifier opted in for event messaging.
identifier
- Resource identifier opted in for event messaging.public void setIdentifierType(String identifierType)
Identifier type of the particular resource identifier for event configuration.
identifierType
- Identifier type of the particular resource identifier for event configuration.IdentifierType
public String getIdentifierType()
Identifier type of the particular resource identifier for event configuration.
IdentifierType
public EventConfigurationItem withIdentifierType(String identifierType)
Identifier type of the particular resource identifier for event configuration.
identifierType
- Identifier type of the particular resource identifier for event configuration.IdentifierType
public EventConfigurationItem withIdentifierType(IdentifierType identifierType)
Identifier type of the particular resource identifier for event configuration.
identifierType
- Identifier type of the particular resource identifier for event configuration.IdentifierType
public void setPartnerType(String partnerType)
Partner type of the resource if the identifier type is PartnerAccountId.
partnerType
- Partner type of the resource if the identifier type is PartnerAccountId.EventNotificationPartnerType
public String getPartnerType()
Partner type of the resource if the identifier type is PartnerAccountId.
EventNotificationPartnerType
public EventConfigurationItem withPartnerType(String partnerType)
Partner type of the resource if the identifier type is PartnerAccountId.
partnerType
- Partner type of the resource if the identifier type is PartnerAccountId.EventNotificationPartnerType
public EventConfigurationItem withPartnerType(EventNotificationPartnerType partnerType)
Partner type of the resource if the identifier type is PartnerAccountId.
partnerType
- Partner type of the resource if the identifier type is PartnerAccountId.EventNotificationPartnerType
public void setEvents(EventNotificationItemConfigurations events)
events
- public EventNotificationItemConfigurations getEvents()
public EventConfigurationItem withEvents(EventNotificationItemConfigurations events)
events
- public String toString()
toString
in class Object
Object.toString()
public EventConfigurationItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.