@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.
|
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 |
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 |
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 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()