@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTimelineEventRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateTimelineEventRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTimelineEventRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A token that ensures that a client calls the operation only once with the specified details.
|
String |
getEventData()
A short description of the event.
|
String |
getEventId()
The ID of the event to update.
|
List<EventReference> |
getEventReferences()
Updates all existing references in a
TimelineEvent . |
Date |
getEventTime()
The timestamp for when the event occurred.
|
String |
getEventType()
The type of event.
|
String |
getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A token that ensures that a client calls the operation only once with the specified details.
|
void |
setEventData(String eventData)
A short description of the event.
|
void |
setEventId(String eventId)
The ID of the event to update.
|
void |
setEventReferences(Collection<EventReference> eventReferences)
Updates all existing references in a
TimelineEvent . |
void |
setEventTime(Date eventTime)
The timestamp for when the event occurred.
|
void |
setEventType(String eventType)
The type of event.
|
void |
setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTimelineEventRequest |
withClientToken(String clientToken)
A token that ensures that a client calls the operation only once with the specified details.
|
UpdateTimelineEventRequest |
withEventData(String eventData)
A short description of the event.
|
UpdateTimelineEventRequest |
withEventId(String eventId)
The ID of the event to update.
|
UpdateTimelineEventRequest |
withEventReferences(Collection<EventReference> eventReferences)
Updates all existing references in a
TimelineEvent . |
UpdateTimelineEventRequest |
withEventReferences(EventReference... eventReferences)
Updates all existing references in a
TimelineEvent . |
UpdateTimelineEventRequest |
withEventTime(Date eventTime)
The timestamp for when the event occurred.
|
UpdateTimelineEventRequest |
withEventType(String eventType)
The type of event.
|
UpdateTimelineEventRequest |
withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
|
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 that ensures that a client calls the operation only once with the specified details.
clientToken
- A token that ensures that a client calls the operation only once with the specified details.public String getClientToken()
A token that ensures that a client calls the operation only once with the specified details.
public UpdateTimelineEventRequest withClientToken(String clientToken)
A token that ensures that a client calls the operation only once with the specified details.
clientToken
- A token that ensures that a client calls the operation 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 UpdateTimelineEventRequest withEventData(String eventData)
A short description of the event.
eventData
- A short description of the event.public void setEventId(String eventId)
The ID of the event to update. You can use ListTimelineEvents
to find an event's ID.
eventId
- The ID of the event to update. You can use ListTimelineEvents
to find an event's ID.public String getEventId()
The ID of the event to update. You can use ListTimelineEvents
to find an event's ID.
ListTimelineEvents
to find an event's ID.public UpdateTimelineEventRequest withEventId(String eventId)
The ID of the event to update. You can use ListTimelineEvents
to find an event's ID.
eventId
- The ID of the event to update. You can use ListTimelineEvents
to find an event's ID.public List<EventReference> getEventReferences()
Updates all existing references in a TimelineEvent
. A reference is an Amazon Web Services resource
involved or associated with the incident. To specify a reference, enter its Amazon Resource Name (ARN). You can
also specify a related item associated with that resource. For example, to specify an Amazon DynamoDB (DynamoDB)
table as a resource, use its ARN. You can also specify an Amazon CloudWatch metric associated with the DynamoDB
table as a related item.
This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
TimelineEvent
. A reference is an Amazon Web Services
resource involved or associated with the incident. To specify a reference, enter its Amazon Resource Name
(ARN). You can also specify a related item associated with that resource. For example, to specify an
Amazon DynamoDB (DynamoDB) table as a resource, use its ARN. You can also specify an Amazon CloudWatch
metric associated with the DynamoDB table as a related item. This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
public void setEventReferences(Collection<EventReference> eventReferences)
Updates all existing references in a TimelineEvent
. A reference is an Amazon Web Services resource
involved or associated with the incident. To specify a reference, enter its Amazon Resource Name (ARN). You can
also specify a related item associated with that resource. For example, to specify an Amazon DynamoDB (DynamoDB)
table as a resource, use its ARN. You can also specify an Amazon CloudWatch metric associated with the DynamoDB
table as a related item.
This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
eventReferences
- Updates all existing references in a TimelineEvent
. A reference is an Amazon Web Services
resource involved or associated with the incident. To specify a reference, enter its Amazon Resource Name
(ARN). You can also specify a related item associated with that resource. For example, to specify an
Amazon DynamoDB (DynamoDB) table as a resource, use its ARN. You can also specify an Amazon CloudWatch
metric associated with the DynamoDB table as a related item. This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
public UpdateTimelineEventRequest withEventReferences(EventReference... eventReferences)
Updates all existing references in a TimelineEvent
. A reference is an Amazon Web Services resource
involved or associated with the incident. To specify a reference, enter its Amazon Resource Name (ARN). You can
also specify a related item associated with that resource. For example, to specify an Amazon DynamoDB (DynamoDB)
table as a resource, use its ARN. You can also specify an Amazon CloudWatch metric associated with the DynamoDB
table as a related item.
This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
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
- Updates all existing references in a TimelineEvent
. A reference is an Amazon Web Services
resource involved or associated with the incident. To specify a reference, enter its Amazon Resource Name
(ARN). You can also specify a related item associated with that resource. For example, to specify an
Amazon DynamoDB (DynamoDB) table as a resource, use its ARN. You can also specify an Amazon CloudWatch
metric associated with the DynamoDB table as a related item. This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
public UpdateTimelineEventRequest withEventReferences(Collection<EventReference> eventReferences)
Updates all existing references in a TimelineEvent
. A reference is an Amazon Web Services resource
involved or associated with the incident. To specify a reference, enter its Amazon Resource Name (ARN). You can
also specify a related item associated with that resource. For example, to specify an Amazon DynamoDB (DynamoDB)
table as a resource, use its ARN. You can also specify an Amazon CloudWatch metric associated with the DynamoDB
table as a related item.
This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
eventReferences
- Updates all existing references in a TimelineEvent
. A reference is an Amazon Web Services
resource involved or associated with the incident. To specify a reference, enter its Amazon Resource Name
(ARN). You can also specify a related item associated with that resource. For example, to specify an
Amazon DynamoDB (DynamoDB) table as a resource, use its ARN. You can also specify an Amazon CloudWatch
metric associated with the DynamoDB table as a related item. This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you don't, this action removes any existing references and enters only new references.
public void setEventTime(Date eventTime)
The timestamp for when the event occurred.
eventTime
- The timestamp for when the event occurred.public Date getEventTime()
The timestamp for when the event occurred.
public UpdateTimelineEventRequest withEventTime(Date eventTime)
The timestamp for when the event occurred.
eventTime
- The timestamp for when the event occurred.public void setEventType(String eventType)
The type of event. You can update events of type Custom Event
and Note
.
eventType
- The type of event. You can update events of type Custom Event
and Note
.public String getEventType()
The type of event. You can update events of type Custom Event
and Note
.
Custom Event
and Note
.public UpdateTimelineEventRequest withEventType(String eventType)
The type of event. You can update events of type Custom Event
and Note
.
eventType
- The type of event. You can update events of type Custom Event
and Note
.public void setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that includes the timeline event.public String getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
public UpdateTimelineEventRequest withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that includes the timeline event.public String toString()
toString
in class Object
Object.toString()
public UpdateTimelineEventRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()