@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTimelineEventRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTimelineEventRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTimelineEventRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A token ensuring that the action is called only once with the specified details.
|
String |
getEventData()
A short description of the event.
|
List<EventReference> |
getEventReferences()
Adds one or more references to the
TimelineEvent . |
Date |
getEventTime()
The time that the event occurred.
|
String |
getEventType()
The type of the event.
|
String |
getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident record to which the event will be added.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A token ensuring that the action is called only once with the specified details.
|
void |
setEventData(String eventData)
A short description of the event.
|
void |
setEventReferences(Collection<EventReference> eventReferences)
Adds one or more references to the
TimelineEvent . |
void |
setEventTime(Date eventTime)
The time that the event occurred.
|
void |
setEventType(String eventType)
The type of the event.
|
void |
setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident record to which the event will be added.
|
String |
toString()
Returns a string representation of this object.
|
CreateTimelineEventRequest |
withClientToken(String clientToken)
A token ensuring that the action is called only once with the specified details.
|
CreateTimelineEventRequest |
withEventData(String eventData)
A short description of the event.
|
CreateTimelineEventRequest |
withEventReferences(Collection<EventReference> eventReferences)
Adds one or more references to the
TimelineEvent . |
CreateTimelineEventRequest |
withEventReferences(EventReference... eventReferences)
Adds one or more references to the
TimelineEvent . |
CreateTimelineEventRequest |
withEventTime(Date eventTime)
The time that the event occurred.
|
CreateTimelineEventRequest |
withEventType(String eventType)
The type of the event.
|
CreateTimelineEventRequest |
withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident record to which the event will be added.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
A token ensuring that the action is called only once with the specified details.
clientToken
- A token ensuring that the action is called only once with the specified details.public String getClientToken()
A token ensuring that the action is called only once with the specified details.
public CreateTimelineEventRequest withClientToken(String clientToken)
A token ensuring that the action is called only once with the specified details.
clientToken
- A token ensuring that the action is called only once with the specified details.public void setEventData(String eventData)
A short description of the event.
eventData
- A short description of the event.public String getEventData()
A short description of the event.
public CreateTimelineEventRequest withEventData(String eventData)
A short description of the event.
eventData
- A short description of the event.public List<EventReference> getEventReferences()
Adds one or more references to the TimelineEvent
. A reference can be an Amazon Web Services resource
involved in the incident or in some way associated with it. When you specify a reference, you enter the Amazon
Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify the
ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also specify a
Amazon CloudWatch metric for that table. The metric is the related item.
TimelineEvent
. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you
enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example,
you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the
resource. You could also specify a Amazon CloudWatch metric for that table. The metric is the related
item.public void setEventReferences(Collection<EventReference> eventReferences)
Adds one or more references to the TimelineEvent
. A reference can be an Amazon Web Services resource
involved in the incident or in some way associated with it. When you specify a reference, you enter the Amazon
Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify the
ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also specify a
Amazon CloudWatch metric for that table. The metric is the related item.
eventReferences
- Adds one or more references to the TimelineEvent
. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you
enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example,
you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the
resource. You could also specify a Amazon CloudWatch metric for that table. The metric is the related
item.public CreateTimelineEventRequest withEventReferences(EventReference... eventReferences)
Adds one or more references to the TimelineEvent
. A reference can be an Amazon Web Services resource
involved in the incident or in some way associated with it. When you specify a reference, you enter the Amazon
Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify the
ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also specify a
Amazon CloudWatch metric for that table. The metric is the related item.
NOTE: This method appends the values to the existing list (if any). Use
setEventReferences(java.util.Collection)
or withEventReferences(java.util.Collection)
if you
want to override the existing values.
eventReferences
- Adds one or more references to the TimelineEvent
. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you
enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example,
you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the
resource. You could also specify a Amazon CloudWatch metric for that table. The metric is the related
item.public CreateTimelineEventRequest withEventReferences(Collection<EventReference> eventReferences)
Adds one or more references to the TimelineEvent
. A reference can be an Amazon Web Services resource
involved in the incident or in some way associated with it. When you specify a reference, you enter the Amazon
Resource Name (ARN) of the resource. You can also specify a related item. As an example, you could specify the
ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the resource. You could also specify a
Amazon CloudWatch metric for that table. The metric is the related item.
eventReferences
- Adds one or more references to the TimelineEvent
. A reference can be an Amazon Web Services
resource involved in the incident or in some way associated with it. When you specify a reference, you
enter the Amazon Resource Name (ARN) of the resource. You can also specify a related item. As an example,
you could specify the ARN of an Amazon DynamoDB (DynamoDB) table. The table for this example is the
resource. You could also specify a Amazon CloudWatch metric for that table. The metric is the related
item.public void setEventTime(Date eventTime)
The time that the event occurred.
eventTime
- The time that the event occurred.public Date getEventTime()
The time that the event occurred.
public CreateTimelineEventRequest withEventTime(Date eventTime)
The time that the event occurred.
eventTime
- The time that the event occurred.public void setEventType(String eventType)
The type of the event. You can create timeline events of type Custom Event
.
eventType
- The type of the event. You can create timeline events of type Custom Event
.public String getEventType()
The type of the event. You can create timeline events of type Custom Event
.
Custom Event
.public CreateTimelineEventRequest withEventType(String eventType)
The type of the event. You can create timeline events of type Custom Event
.
eventType
- The type of the event. You can create timeline events of type Custom Event
.public void setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident record to which the event will be added.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident record to which the event will be added.public String getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident record to which the event will be added.
public CreateTimelineEventRequest withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident record to which the event will be added.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident record to which the event will be added.public String toString()
toString
in class Object
Object.toString()
public CreateTimelineEventRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()