Class PutEventsRequestEntry
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about the event to be used in PutEvents.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
In the JSON sense, an object containing fields, which may also contain nested sub-objects.Free-form string used to decide what fields to expect in the event detail.AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.The source of the event.getTime()
Timestamp of event, per RFC3339.int
hashCode()
void
In the JSON sense, an object containing fields, which may also contain nested sub-objects.void
setDetailType
(String detailType) Free-form string used to decide what fields to expect in the event detail.void
setResources
(Collection<String> resources) AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.void
The source of the event.void
Timestamp of event, per RFC3339.toString()
Returns a string representation of this object; useful for testing and debugging.withDetail
(String detail) In the JSON sense, an object containing fields, which may also contain nested sub-objects.withDetailType
(String detailType) Free-form string used to decide what fields to expect in the event detail.withResources
(String... resources) AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.withResources
(Collection<String> resources) AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.withSource
(String source) The source of the event.Timestamp of event, per RFC3339.
-
Constructor Details
-
PutEventsRequestEntry
public PutEventsRequestEntry()
-
-
Method Details
-
setTime
-
getTime
-
withTime
-
setSource
The source of the event.
- Parameters:
source
- The source of the event.
-
getSource
The source of the event.
- Returns:
- The source of the event.
-
withSource
The source of the event.
- Parameters:
source
- The source of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getResources
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
- Returns:
- AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
-
setResources
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
- Parameters:
resources
- AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
-
withResources
AWS 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)
orwithResources(java.util.Collection)
if you want to override the existing values.- Parameters:
resources
- AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withResources
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
- Parameters:
resources
- AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDetailType
Free-form string used to decide what fields to expect in the event detail.
- Parameters:
detailType
- Free-form string used to decide what fields to expect in the event detail.
-
getDetailType
Free-form string used to decide what fields to expect in the event detail.
- Returns:
- Free-form string used to decide what fields to expect in the event detail.
-
withDetailType
Free-form string used to decide what fields to expect in the event detail.
- Parameters:
detailType
- Free-form string used to decide what fields to expect in the event detail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDetail
In the JSON sense, an object containing fields, which may also contain nested sub-objects. No constraints are imposed on its contents.
- Parameters:
detail
- In the JSON sense, an object containing fields, which may also contain nested sub-objects. No constraints are imposed on its contents.
-
getDetail
In the JSON sense, an object containing fields, which may also contain nested sub-objects. No constraints are imposed on its contents.
- Returns:
- In the JSON sense, an object containing fields, which may also contain nested sub-objects. No constraints are imposed on its contents.
-
withDetail
In the JSON sense, an object containing fields, which may also contain nested sub-objects. No constraints are imposed on its contents.
- Parameters:
detail
- In the JSON sense, an object containing fields, which may also contain nested sub-objects. No constraints are imposed on its contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-