@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPartnerEventsRequestEntry extends Object implements Serializable, Cloneable, StructuredPojo
The details about an event generated by an SaaS partner.
| Constructor and Description |
|---|
PutPartnerEventsRequestEntry() |
| Modifier and Type | Method and Description |
|---|---|
PutPartnerEventsRequestEntry |
clone() |
boolean |
equals(Object obj) |
String |
getDetail()
A valid JSON object.
|
String |
getDetailType()
A free-form string used to decide which fields to expect in the event detail.
|
List<String> |
getResources()
AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns.
|
String |
getSource()
The event source that is generating the evntry.
|
Date |
getTime()
The date and time of the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDetail(String detail)
A valid JSON object.
|
void |
setDetailType(String detailType)
A free-form string used to decide which fields to expect in the event detail.
|
void |
setResources(Collection<String> resources)
AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns.
|
void |
setSource(String source)
The event source that is generating the evntry.
|
void |
setTime(Date time)
The date and time of the event.
|
String |
toString()
Returns a string representation of this object.
|
PutPartnerEventsRequestEntry |
withDetail(String detail)
A valid JSON object.
|
PutPartnerEventsRequestEntry |
withDetailType(String detailType)
A free-form string used to decide which fields to expect in the event detail.
|
PutPartnerEventsRequestEntry |
withResources(Collection<String> resources)
AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns.
|
PutPartnerEventsRequestEntry |
withResources(String... resources)
AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns.
|
PutPartnerEventsRequestEntry |
withSource(String source)
The event source that is generating the evntry.
|
PutPartnerEventsRequestEntry |
withTime(Date time)
The date and time of the event.
|
public void setTime(Date time)
The date and time of the event.
time - The date and time of the event.public Date getTime()
The date and time of the event.
public PutPartnerEventsRequestEntry withTime(Date time)
The date and time of the event.
time - The date and time of the event.public void setSource(String source)
The event source that is generating the evntry. This field is required.
source - The event source that is generating the evntry. This field is required.public String getSource()
The event source that is generating the evntry. This field is required.
public PutPartnerEventsRequestEntry withSource(String source)
The event source that is generating the evntry. This field is required.
source - The event source that is generating the evntry. This field is required.public List<String> getResources()
AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns. Any number, including zero, can be present.
public void setResources(Collection<String> resources)
AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns. Any number, including zero, can be present.
resources - AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns. Any number,
including zero, can be present.public PutPartnerEventsRequestEntry withResources(String... resources)
AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns. Any number, including zero, can be present.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
override the existing values.
resources - AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns. Any number,
including zero, can be present.public PutPartnerEventsRequestEntry withResources(Collection<String> resources)
AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns. Any number, including zero, can be present.
resources - AWS resources, identified by Amazon Resource Name (ARN), that the event primarily concerns. Any number,
including zero, can be present.public void setDetailType(String detailType)
A free-form string used to decide which fields to expect in the event detail. This field is required.
detailType - A free-form string used to decide which fields to expect in the event detail. This field is required.public String getDetailType()
A free-form string used to decide which fields to expect in the event detail. This field is required.
public PutPartnerEventsRequestEntry withDetailType(String detailType)
A free-form string used to decide which fields to expect in the event detail. This field is required.
detailType - A free-form string used to decide which fields to expect in the event detail. This field is required.public void setDetail(String detail)
A valid JSON object. There is no other schema imposed. The JSON object can contain fields and nested subobjects. This field is required.
detail - A valid JSON object. There is no other schema imposed. The JSON object can contain fields and nested
subobjects. This field is required.public String getDetail()
A valid JSON object. There is no other schema imposed. The JSON object can contain fields and nested subobjects. This field is required.
public PutPartnerEventsRequestEntry withDetail(String detail)
A valid JSON object. There is no other schema imposed. The JSON object can contain fields and nested subobjects. This field is required.
detail - A valid JSON object. There is no other schema imposed. The JSON object can contain fields and nested
subobjects. This field is required.public String toString()
toString in class ObjectObject.toString()public PutPartnerEventsRequestEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.