Class ImageResourceAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.ImageResourceAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageResourceAssociation.Builder,ImageResourceAssociation>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImageResourceAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassociatedResourceId()The identifier of the associated resource.ImageAssociatedResourceTypeassociatedResourceType()The resource type of the associated resources.StringassociatedResourceTypeAsString()The resource type of the associated resources.static ImageResourceAssociation.Builderbuilder()Instantcreated()The time the association is created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimageId()The identifier of the image.InstantlastUpdatedTime()The time the association status was last updated.List<SdkField<?>>sdkFields()static Class<? extends ImageResourceAssociation.Builder>serializableBuilderClass()AssociationStatestate()The status of the image resource association.StringstateAsString()The status of the image resource association.AssociationStateReasonstateReason()The reason the association deployment failed.ImageResourceAssociation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
associatedResourceId
public final String associatedResourceId()
The identifier of the associated resource.
- Returns:
- The identifier of the associated resource.
-
associatedResourceType
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,
associatedResourceTypewill returnImageAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociatedResourceTypeAsString().- Returns:
- The resource type of the associated resources.
- See Also:
ImageAssociatedResourceType
-
associatedResourceTypeAsString
public 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,
associatedResourceTypewill returnImageAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociatedResourceTypeAsString().- Returns:
- The resource type of the associated resources.
- See Also:
ImageAssociatedResourceType
-
created
public final Instant created()
The time the association is created.
- Returns:
- The time the association is created.
-
lastUpdatedTime
public final Instant lastUpdatedTime()
The time the association status was last updated.
- Returns:
- The time the association status was last updated.
-
imageId
public final String imageId()
The identifier of the image.
- Returns:
- The identifier of the image.
-
state
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,
statewill returnAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The status of the image resource association.
- See Also:
AssociationState
-
stateAsString
public 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,
statewill returnAssociationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The status of the image resource association.
- See Also:
AssociationState
-
stateReason
public final AssociationStateReason stateReason()
The reason the association deployment failed.
- Returns:
- The reason the association deployment failed.
-
toBuilder
public ImageResourceAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageResourceAssociation.Builder,ImageResourceAssociation>
-
builder
public static ImageResourceAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImageResourceAssociation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-