@Generated(value="software.amazon.awssdk:codegen") public final class ImageResourceAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageResourceAssociation.Builder,ImageResourceAssociation>
Describes the association between an application and an image resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImageResourceAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
associatedResourceId()
The identifier of the associated resource.
|
ImageAssociatedResourceType |
associatedResourceType()
The resource type of the associated resources.
|
String |
associatedResourceTypeAsString()
The resource type of the associated resources.
|
static ImageResourceAssociation.Builder |
builder() |
Instant |
created()
The time the association is created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageId()
The identifier of the image.
|
Instant |
lastUpdatedTime()
The time the association status was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImageResourceAssociation.Builder> |
serializableBuilderClass() |
AssociationState |
state()
The status of the image resource association.
|
String |
stateAsString()
The status of the image resource association.
|
AssociationStateReason |
stateReason()
The reason the association deployment failed.
|
ImageResourceAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String associatedResourceId()
The identifier of the associated resource.
public final ImageAssociatedResourceType associatedResourceType()
The resource type of the associated resources.
If the service returns an enum value that is not available in the current SDK version,
associatedResourceType will return ImageAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from associatedResourceTypeAsString().
ImageAssociatedResourceTypepublic final String associatedResourceTypeAsString()
The resource type of the associated resources.
If the service returns an enum value that is not available in the current SDK version,
associatedResourceType will return ImageAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from associatedResourceTypeAsString().
ImageAssociatedResourceTypepublic final Instant created()
The time the association is created.
public final Instant lastUpdatedTime()
The time the association status was last updated.
public final String imageId()
The identifier of the image.
public final AssociationState state()
The status of the image resource association.
If the service returns an enum value that is not available in the current SDK version, state will return
AssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
AssociationStatepublic final String stateAsString()
The status of the image resource association.
If the service returns an enum value that is not available in the current SDK version, state will return
AssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
AssociationStatepublic final AssociationStateReason stateReason()
The reason the association deployment failed.
public ImageResourceAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImageResourceAssociation.Builder,ImageResourceAssociation>public static ImageResourceAssociation.Builder builder()
public static Class<? extends ImageResourceAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.