Interface UpdateTimelineEventRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTimelineEventRequest.Builder,,UpdateTimelineEventRequest> SdkBuilder<UpdateTimelineEventRequest.Builder,,UpdateTimelineEventRequest> SdkPojo,SdkRequest.Builder,SsmIncidentsRequest.Builder
- Enclosing class:
UpdateTimelineEventRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A token that ensures that a client calls the operation only once with the specified details.A short description of the event.The ID of the event to update.eventReferences(Collection<EventReference> eventReferences) Updates all existing references in aTimelineEvent.eventReferences(Consumer<EventReference.Builder>... eventReferences) Updates all existing references in aTimelineEvent.eventReferences(EventReference... eventReferences) Updates all existing references in aTimelineEvent.The timestamp for when the event occurred.The type of event.incidentRecordArn(String incidentRecordArn) The Amazon Resource Name (ARN) of the incident that includes the timeline event.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsRequest.Builder
build
-
Method Details
-
clientToken
A token that ensures that a client calls the operation only once with the specified details.
- Parameters:
clientToken- A token that ensures that a client calls the operation only once with the specified details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventData
A short description of the event.
- Parameters:
eventData- A short description of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
The ID of the event to update. You can use
ListTimelineEventsto find an event's ID.- Parameters:
eventId- The ID of the event to update. You can useListTimelineEventsto find an event's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
eventReferences- Updates all existing references in aTimelineEvent. 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
eventReferences- Updates all existing references in aTimelineEvent. 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventReferences
UpdateTimelineEventRequest.Builder eventReferences(Consumer<EventReference.Builder>... 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 is a convenience method that creates an instance of theThis 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.
EventReference.Builderavoiding the need to create one manually viaEventReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventReferences(List<EventReference>).- Parameters:
eventReferences- a consumer that will call methods onEventReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventTime
The timestamp for when the event occurred.
- Parameters:
eventTime- The timestamp for when the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
The type of event. You can update events of type
Custom EventandNote.- Parameters:
eventType- The type of event. You can update events of typeCustom EventandNote.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentRecordArn
The Amazon Resource Name (ARN) of the incident that includes the timeline event.
- Parameters:
incidentRecordArn- The Amazon Resource Name (ARN) of the incident that includes the timeline event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateTimelineEventRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateTimelineEventRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-