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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssociationExecutionTarget.BuilderassociationId(String associationId)The association ID.AssociationExecutionTarget.BuilderassociationVersion(String associationVersion)The association version.AssociationExecutionTarget.BuilderdetailedStatus(String detailedStatus)Detailed information about the execution status.AssociationExecutionTarget.BuilderexecutionId(String executionId)The execution ID.AssociationExecutionTarget.BuilderlastExecutionDate(Instant lastExecutionDate)The date of the last execution.default AssociationExecutionTarget.BuilderoutputSource(Consumer<OutputSource.Builder> outputSource)The location where the association details are saved.AssociationExecutionTarget.BuilderoutputSource(OutputSource outputSource)The location where the association details are saved.AssociationExecutionTarget.BuilderresourceId(String resourceId)The resource ID, for example, the managed node ID where the association ran.AssociationExecutionTarget.BuilderresourceType(String resourceType)The resource type, for example, EC2.AssociationExecutionTarget.Builderstatus(String status)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 Detail
-
associationId
AssociationExecutionTarget.Builder associationId(String 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
AssociationExecutionTarget.Builder associationVersion(String 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
AssociationExecutionTarget.Builder executionId(String 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
AssociationExecutionTarget.Builder resourceId(String 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
AssociationExecutionTarget.Builder resourceType(String 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
AssociationExecutionTarget.Builder status(String 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
AssociationExecutionTarget.Builder detailedStatus(String 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
AssociationExecutionTarget.Builder lastExecutionDate(Instant 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
AssociationExecutionTarget.Builder outputSource(OutputSource 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.Builderavoiding the need to create one manually viaOutputSource.builder().When the
Consumercompletes,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:
outputSource(OutputSource)
-
-