Interface AssociationExecutionTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssociationExecutionTarget.Builder,
,AssociationExecutionTarget> SdkBuilder<AssociationExecutionTarget.Builder,
,AssociationExecutionTarget> SdkPojo
- Enclosing class:
AssociationExecutionTarget
public static interface AssociationExecutionTarget.Builder
extends SdkPojo, CopyableBuilder<AssociationExecutionTarget.Builder,AssociationExecutionTarget>
-
Method Summary
Modifier and TypeMethodDescriptionassociationId
(String associationId) The association ID.associationVersion
(String associationVersion) The association version.detailedStatus
(String detailedStatus) Detailed information about the execution status.executionId
(String executionId) The execution ID.lastExecutionDate
(Instant lastExecutionDate) The date of the last execution.outputSource
(Consumer<OutputSource.Builder> outputSource) The location where the association details are saved.outputSource
(OutputSource outputSource) The location where the association details are saved.resourceId
(String resourceId) The resource ID, for example, the managed node ID where the association ran.resourceType
(String resourceType) The resource type, for example, EC2.The association execution status.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, sdkFields
-
Method Details
-
associationId
The association ID.
- Parameters:
associationId
- The association ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationVersion
The association version.
- Parameters:
associationVersion
- The association version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionId
The execution ID.
- Parameters:
executionId
- The execution ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The resource ID, for example, the managed node ID where the association ran.
- Parameters:
resourceId
- The resource ID, for example, the managed node ID where the association ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type, for example, EC2.
- Parameters:
resourceType
- The resource type, for example, EC2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The association execution status.
- Parameters:
status
- The association execution status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detailedStatus
Detailed information about the execution status.
- Parameters:
detailedStatus
- Detailed information about the execution status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastExecutionDate
The date of the last execution.
- Parameters:
lastExecutionDate
- The date of the last execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSource
The location where the association details are saved.
- Parameters:
outputSource
- The location where the association details are saved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSource
default AssociationExecutionTarget.Builder outputSource(Consumer<OutputSource.Builder> outputSource) The location where the association details are saved.
This is a convenience method that creates an instance of theOutputSource.Builder
avoiding the need to create one manually viaOutputSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputSource(OutputSource)
.- Parameters:
outputSource
- a consumer that will call methods onOutputSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-