Interface GetExecutionPreviewResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetExecutionPreviewResponse.Builder,
,GetExecutionPreviewResponse> SdkBuilder<GetExecutionPreviewResponse.Builder,
,GetExecutionPreviewResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
GetExecutionPreviewResponse
@Mutable
@NotThreadSafe
public static interface GetExecutionPreviewResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetExecutionPreviewResponse.Builder,GetExecutionPreviewResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA UTC timestamp indicating when the execution preview operation ended.executionPreview
(Consumer<ExecutionPreview.Builder> executionPreview) Sets the value of the ExecutionPreview property for this object.executionPreview
(ExecutionPreview executionPreview) Sets the value of the ExecutionPreview property for this object.executionPreviewId
(String executionPreviewId) The generated ID for the existing execution preview.The current status of the execution preview operation.status
(ExecutionPreviewStatus status) The current status of the execution preview operation.statusMessage
(String statusMessage) Supplemental information about the current status of the execution preview.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
executionPreviewId
The generated ID for the existing execution preview.
- Parameters:
executionPreviewId
- The generated ID for the existing execution preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
A UTC timestamp indicating when the execution preview operation ended.
- Parameters:
endedAt
- A UTC timestamp indicating when the execution preview operation ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the execution preview operation.
- Parameters:
status
- The current status of the execution preview operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the execution preview operation.
- Parameters:
status
- The current status of the execution preview operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Supplemental information about the current status of the execution preview.
- Parameters:
statusMessage
- Supplemental information about the current status of the execution preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionPreview
Sets the value of the ExecutionPreview property for this object.- Parameters:
executionPreview
- The new value for the ExecutionPreview property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionPreview
default GetExecutionPreviewResponse.Builder executionPreview(Consumer<ExecutionPreview.Builder> executionPreview) Sets the value of the ExecutionPreview property for this object. This is a convenience method that creates an instance of theExecutionPreview.Builder
avoiding the need to create one manually viaExecutionPreview.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionPreview(ExecutionPreview)
.- Parameters:
executionPreview
- a consumer that will call methods onExecutionPreview.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-