@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 string.
|
String |
getDetailType()
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
|
List<String> |
getResources()
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
String |
getSource()
The event source that is generating the entry.
|
Date |
getTime()
The date and time of the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetail(String detail)
A valid JSON string.
|
void |
setDetailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
|
void |
setResources(Collection<String> resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
void |
setSource(String source)
The event source that is generating the entry.
|
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 string.
|
PutPartnerEventsRequestEntry |
withDetailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
|
PutPartnerEventsRequestEntry |
withResources(Collection<String> resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
PutPartnerEventsRequestEntry |
withResources(String... resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
|
PutPartnerEventsRequestEntry |
withSource(String source)
The event source that is generating the entry.
|
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 entry.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include each of
those properties, EventBridge fails that entry. If you submit a request in which none of the entries have
each of these properties, EventBridge fails the entire request.
source
- The event source that is generating the entry.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include
each of those properties, EventBridge fails that entry. If you submit a request in which none of
the entries have each of these properties, EventBridge fails the entire request.
public String getSource()
The event source that is generating the entry.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include each of
those properties, EventBridge fails that entry. If you submit a request in which none of the entries have
each of these properties, EventBridge fails the entire request.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include
each of those properties, EventBridge fails that entry. If you submit a request in which none of
the entries have each of these properties, EventBridge fails the entire request.
public PutPartnerEventsRequestEntry withSource(String source)
The event source that is generating the entry.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include each of
those properties, EventBridge fails that entry. If you submit a request in which none of the entries have
each of these properties, EventBridge fails the entire request.
source
- The event source that is generating the entry.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include
each of those properties, EventBridge fails that entry. If you submit a request in which none of
the entries have each of these properties, EventBridge fails the entire request.
public List<String> getResources()
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
public void setResources(Collection<String> resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
resources
- Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
concerns. Any number, including zero, may be present.public PutPartnerEventsRequestEntry withResources(String... resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may 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
- Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
concerns. Any number, including zero, may be present.public PutPartnerEventsRequestEntry withResources(Collection<String> resources)
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
resources
- Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
concerns. Any number, including zero, may be present.public void setDetailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include each of
those properties, EventBridge fails that entry. If you submit a request in which none of the entries have
each of these properties, EventBridge fails the entire request.
detailType
- A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event
detail.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include
each of those properties, EventBridge fails that entry. If you submit a request in which none of
the entries have each of these properties, EventBridge fails the entire request.
public String getDetailType()
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include each of
those properties, EventBridge fails that entry. If you submit a request in which none of the entries have
each of these properties, EventBridge fails the entire request.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include
each of those properties, EventBridge fails that entry. If you submit a request in which none of
the entries have each of these properties, EventBridge fails the entire request.
public PutPartnerEventsRequestEntry withDetailType(String detailType)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include each of
those properties, EventBridge fails that entry. If you submit a request in which none of the entries have
each of these properties, EventBridge fails the entire request.
detailType
- A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event
detail.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include
each of those properties, EventBridge fails that entry. If you submit a request in which none of
the entries have each of these properties, EventBridge fails the entire request.
public void setDetail(String detail)
A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include each of
those properties, EventBridge fails that entry. If you submit a request in which none of the entries have
each of these properties, EventBridge fails the entire request.
detail
- A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested
sub-objects.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include
each of those properties, EventBridge fails that entry. If you submit a request in which none of
the entries have each of these properties, EventBridge fails the entire request.
public String getDetail()
A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include each of
those properties, EventBridge fails that entry. If you submit a request in which none of the entries have
each of these properties, EventBridge fails the entire request.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include
each of those properties, EventBridge fails that entry. If you submit a request in which none of
the entries have each of these properties, EventBridge fails the entire request.
public PutPartnerEventsRequestEntry withDetail(String detail)
A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include each of
those properties, EventBridge fails that entry. If you submit a request in which none of the entries have
each of these properties, EventBridge fails the entire request.
detail
- A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested
sub-objects.
Detail
, DetailType
, and Source
are required for EventBridge to
successfully send an event to an event bus. If you include event entries in a request that do not include
each of those properties, EventBridge fails that entry. If you submit a request in which none of
the entries have each of these properties, EventBridge fails the entire request.
public String toString()
toString
in class Object
Object.toString()
public PutPartnerEventsRequestEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.