public static interface ImageResourceAssociation.Builder extends SdkPojo, CopyableBuilder<ImageResourceAssociation.Builder,ImageResourceAssociation>
| Modifier and Type | Method and Description |
|---|---|
ImageResourceAssociation.Builder |
associatedResourceId(String associatedResourceId)
The identifier of the associated resource.
|
ImageResourceAssociation.Builder |
associatedResourceType(ImageAssociatedResourceType associatedResourceType)
The resource type of the associated resources.
|
ImageResourceAssociation.Builder |
associatedResourceType(String associatedResourceType)
The resource type of the associated resources.
|
ImageResourceAssociation.Builder |
created(Instant created)
The time the association is created.
|
ImageResourceAssociation.Builder |
imageId(String imageId)
The identifier of the image.
|
ImageResourceAssociation.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The time the association status was last updated.
|
ImageResourceAssociation.Builder |
state(AssociationState state)
The status of the image resource association.
|
ImageResourceAssociation.Builder |
state(String state)
The status of the image resource association.
|
ImageResourceAssociation.Builder |
stateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
|
default ImageResourceAssociation.Builder |
stateReason(Consumer<AssociationStateReason.Builder> stateReason)
The reason the association deployment failed.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImageResourceAssociation.Builder associatedResourceId(String associatedResourceId)
The identifier of the associated resource.
associatedResourceId - The identifier of the associated resource.ImageResourceAssociation.Builder associatedResourceType(String associatedResourceType)
The resource type of the associated resources.
associatedResourceType - The resource type of the associated resources.ImageAssociatedResourceType,
ImageAssociatedResourceTypeImageResourceAssociation.Builder associatedResourceType(ImageAssociatedResourceType associatedResourceType)
The resource type of the associated resources.
associatedResourceType - The resource type of the associated resources.ImageAssociatedResourceType,
ImageAssociatedResourceTypeImageResourceAssociation.Builder created(Instant created)
The time the association is created.
created - The time the association is created.ImageResourceAssociation.Builder lastUpdatedTime(Instant lastUpdatedTime)
The time the association status was last updated.
lastUpdatedTime - The time the association status was last updated.ImageResourceAssociation.Builder imageId(String imageId)
The identifier of the image.
imageId - The identifier of the image.ImageResourceAssociation.Builder state(String state)
The status of the image resource association.
state - The status of the image resource association.AssociationState,
AssociationStateImageResourceAssociation.Builder state(AssociationState state)
The status of the image resource association.
state - The status of the image resource association.AssociationState,
AssociationStateImageResourceAssociation.Builder stateReason(AssociationStateReason stateReason)
The reason the association deployment failed.
stateReason - The reason the association deployment failed.default ImageResourceAssociation.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 via AssociationStateReason.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to stateReason(AssociationStateReason).
stateReason - a consumer that will call methods on AssociationStateReason.BuilderstateReason(AssociationStateReason)Copyright © 2023. All rights reserved.