Interface OperationEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OperationEvent.Builder,
,OperationEvent> SdkBuilder<OperationEvent.Builder,
,OperationEvent> SdkPojo
- Enclosing class:
OperationEvent
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the operation event.default OperationEvent.Builder
resource
(Consumer<Resource.Builder> resource) The resource involved in the operations event.The resource involved in the operations event.The status of the operation event.status
(OperationEventStatus status) The status of the operation event.statusMessage
(String statusMessage) The status message relating to a specific operation event.The timestamp of the specified operation event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
A description of the operation event. For example, "Stop the EC2 instance i-abcdefgh987654321".
- Parameters:
description
- A description of the operation event. For example, "Stop the EC2 instance i-abcdefgh987654321".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource involved in the operations event.
Contains
ResourceArn
ARN andResourceType
.- Parameters:
resource
- The resource involved in the operations event.Contains
ResourceArn
ARN andResourceType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource involved in the operations event.
Contains
This is a convenience method that creates an instance of theResourceArn
ARN andResourceType
.Resource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresource(Resource)
.- Parameters:
resource
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the operation event. The possible statuses are:
IN_PROGRESS
,COMPLETED
, andFAILED
.- Parameters:
status
- The status of the operation event. The possible statuses are:IN_PROGRESS
,COMPLETED
, andFAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the operation event. The possible statuses are:
IN_PROGRESS
,COMPLETED
, andFAILED
.- Parameters:
status
- The status of the operation event. The possible statuses are:IN_PROGRESS
,COMPLETED
, andFAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The status message relating to a specific operation event.
- Parameters:
statusMessage
- The status message relating to a specific operation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The timestamp of the specified operation event.
- Parameters:
timestamp
- The timestamp of the specified operation event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-