Interface ApplicationResourceAssociation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationResourceAssociation.Builder,ApplicationResourceAssociation>,SdkBuilder<ApplicationResourceAssociation.Builder,ApplicationResourceAssociation>,SdkPojo
- Enclosing class:
- ApplicationResourceAssociation
public static interface ApplicationResourceAssociation.Builder extends SdkPojo, CopyableBuilder<ApplicationResourceAssociation.Builder,ApplicationResourceAssociation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ApplicationResourceAssociation.BuilderapplicationId(String applicationId)The identifier of the application.ApplicationResourceAssociation.BuilderassociatedResourceId(String associatedResourceId)The identifier of the associated resource.ApplicationResourceAssociation.BuilderassociatedResourceType(String associatedResourceType)The resource type of the associated resource.ApplicationResourceAssociation.BuilderassociatedResourceType(ApplicationAssociatedResourceType associatedResourceType)The resource type of the associated resource.ApplicationResourceAssociation.Buildercreated(Instant created)The time the association was created.ApplicationResourceAssociation.BuilderlastUpdatedTime(Instant lastUpdatedTime)The time the association status was last updated.ApplicationResourceAssociation.Builderstate(String state)The status of the application resource association.ApplicationResourceAssociation.Builderstate(AssociationState state)The status of the application resource association.default ApplicationResourceAssociation.BuilderstateReason(Consumer<AssociationStateReason.Builder> stateReason)The reason the association deployment failed.ApplicationResourceAssociation.BuilderstateReason(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
applicationId
ApplicationResourceAssociation.Builder applicationId(String applicationId)
The identifier of the application.
- Parameters:
applicationId- The identifier of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedResourceId
ApplicationResourceAssociation.Builder associatedResourceId(String 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
ApplicationResourceAssociation.Builder associatedResourceType(String associatedResourceType)
The resource type of the associated resource.
- Parameters:
associatedResourceType- The resource type of the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApplicationAssociatedResourceType,ApplicationAssociatedResourceType
-
associatedResourceType
ApplicationResourceAssociation.Builder associatedResourceType(ApplicationAssociatedResourceType associatedResourceType)
The resource type of the associated resource.
- Parameters:
associatedResourceType- The resource type of the associated resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApplicationAssociatedResourceType,ApplicationAssociatedResourceType
-
created
ApplicationResourceAssociation.Builder created(Instant created)
The time the association was created.
- Parameters:
created- The time the association was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
ApplicationResourceAssociation.Builder lastUpdatedTime(Instant 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
ApplicationResourceAssociation.Builder state(String state)
The status of the application resource association.
- Parameters:
state- The status of the application resource association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociationState,AssociationState
-
state
ApplicationResourceAssociation.Builder state(AssociationState state)
The status of the application resource association.
- Parameters:
state- The status of the application resource association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociationState,AssociationState
-
stateReason
ApplicationResourceAssociation.Builder stateReason(AssociationStateReason 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 ApplicationResourceAssociation.Builder stateReason(Consumer<AssociationStateReason.Builder> stateReason)
The reason the association deployment failed.
This is a convenience method that creates an instance of theAssociationStateReason.Builderavoiding the need to create one manually viaAssociationStateReason.builder().When the
Consumercompletes,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:
stateReason(AssociationStateReason)
-
-