Interface GetExecutionPreviewResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetExecutionPreviewResponse.Builder,GetExecutionPreviewResponse>,SdkBuilder<GetExecutionPreviewResponse.Builder,GetExecutionPreviewResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- GetExecutionPreviewResponse
public static interface GetExecutionPreviewResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetExecutionPreviewResponse.Builder,GetExecutionPreviewResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetExecutionPreviewResponse.BuilderendedAt(Instant endedAt)A UTC timestamp indicating when the execution preview operation ended.default GetExecutionPreviewResponse.BuilderexecutionPreview(Consumer<ExecutionPreview.Builder> executionPreview)Sets the value of the ExecutionPreview property for this object.GetExecutionPreviewResponse.BuilderexecutionPreview(ExecutionPreview executionPreview)Sets the value of the ExecutionPreview property for this object.GetExecutionPreviewResponse.BuilderexecutionPreviewId(String executionPreviewId)The generated ID for the existing execution preview.GetExecutionPreviewResponse.Builderstatus(String status)The current status of the execution preview operation.GetExecutionPreviewResponse.Builderstatus(ExecutionPreviewStatus status)The current status of the execution preview operation.GetExecutionPreviewResponse.BuilderstatusMessage(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 Detail
-
executionPreviewId
GetExecutionPreviewResponse.Builder executionPreviewId(String 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
GetExecutionPreviewResponse.Builder endedAt(Instant 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
GetExecutionPreviewResponse.Builder status(String 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:
ExecutionPreviewStatus,ExecutionPreviewStatus
-
status
GetExecutionPreviewResponse.Builder status(ExecutionPreviewStatus 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:
ExecutionPreviewStatus,ExecutionPreviewStatus
-
statusMessage
GetExecutionPreviewResponse.Builder statusMessage(String 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
GetExecutionPreviewResponse.Builder executionPreview(ExecutionPreview 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.Builderavoiding the need to create one manually viaExecutionPreview.builder().When the
Consumercompletes,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:
executionPreview(ExecutionPreview)
-
-