Interface BundleResourceAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BundleResourceAssociation.Builder,
,BundleResourceAssociation> SdkBuilder<BundleResourceAssociation.Builder,
,BundleResourceAssociation> SdkPojo
- Enclosing class:
BundleResourceAssociation
public static interface BundleResourceAssociation.Builder
extends SdkPojo, CopyableBuilder<BundleResourceAssociation.Builder,BundleResourceAssociation>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedResourceId
(String associatedResourceId) The identifier of the associated resource.associatedResourceType
(String associatedResourceType) The resource type of the associated resources.associatedResourceType
(BundleAssociatedResourceType associatedResourceType) The resource type of the associated resources.The identifier of the bundle.The time the association is created.lastUpdatedTime
(Instant lastUpdatedTime) The time the association status was last updated.The status of the bundle resource association.state
(AssociationState state) The status of the bundle resource association.stateReason
(Consumer<AssociationStateReason.Builder> stateReason) The reason the association deployment failed.stateReason
(AssociationStateReason stateReason) The reason the association deployment failed.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
-
associatedResourceId
The identifier of the associated resource.
- Parameters:
associatedResourceId
- The identifier of the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedResourceType
The resource type of the associated resources.
- Parameters:
associatedResourceType
- The resource type of the associated resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedResourceType
BundleResourceAssociation.Builder associatedResourceType(BundleAssociatedResourceType associatedResourceType) The resource type of the associated resources.
- Parameters:
associatedResourceType
- The resource type of the associated resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bundleId
The identifier of the bundle.
- Parameters:
bundleId
- The identifier of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
created
The time the association is created.
- Parameters:
created
- The time the association is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The time the association status was last updated.
- Parameters:
lastUpdatedTime
- The time the association status was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The status of the bundle resource association.
- Parameters:
state
- The status of the bundle resource association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The status of the bundle resource association.
- Parameters:
state
- The status of the bundle resource association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason the association deployment failed.
- Parameters:
stateReason
- The reason the association deployment failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
default BundleResourceAssociation.Builder stateReason(Consumer<AssociationStateReason.Builder> stateReason) The reason the association deployment failed.
This is a convenience method that creates an instance of theAssociationStateReason.Builder
avoiding the need to create one manually viaAssociationStateReason.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateReason(AssociationStateReason)
.- Parameters:
stateReason
- a consumer that will call methods onAssociationStateReason.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-