Interface GetAutomationExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAutomationExecutionResponse.Builder,,GetAutomationExecutionResponse> SdkBuilder<GetAutomationExecutionResponse.Builder,,GetAutomationExecutionResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
GetAutomationExecutionResponse
@Mutable
@NotThreadSafe
public static interface GetAutomationExecutionResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetAutomationExecutionResponse.Builder,GetAutomationExecutionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionautomationExecution(Consumer<AutomationExecution.Builder> automationExecution) Detailed information about the current state of an automation execution.automationExecution(AutomationExecution automationExecution) Detailed information about the current state of an automation execution.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
automationExecution
Detailed information about the current state of an automation execution.
- Parameters:
automationExecution- Detailed information about the current state of an automation execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationExecution
default GetAutomationExecutionResponse.Builder automationExecution(Consumer<AutomationExecution.Builder> automationExecution) Detailed information about the current state of an automation execution.
This is a convenience method that creates an instance of theAutomationExecution.Builderavoiding the need to create one manually viaAutomationExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautomationExecution(AutomationExecution).- Parameters:
automationExecution- a consumer that will call methods onAutomationExecution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-