Class ApplicationResourceAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.ApplicationResourceAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApplicationResourceAssociation.Builder,ApplicationResourceAssociation>
@Generated("software.amazon.awssdk:codegen") public final class ApplicationResourceAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationResourceAssociation.Builder,ApplicationResourceAssociation>
Describes the association between an application and an application resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApplicationResourceAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The identifier of the application.StringassociatedResourceId()The identifier of the associated resource.ApplicationAssociatedResourceTypeassociatedResourceType()The resource type of the associated resource.StringassociatedResourceTypeAsString()The resource type of the associated resource.static ApplicationResourceAssociation.Builderbuilder()Instantcreated()The time the association was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTime()The time the association status was last updated.List<SdkField<?>>sdkFields()static Class<? extends ApplicationResourceAssociation.Builder>serializableBuilderClass()AssociationStatestate()The status of the application resource association.StringstateAsString()The status of the application resource association.AssociationStateReasonstateReason()The reason the association deployment failed.ApplicationResourceAssociation.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
-
applicationId
public final String applicationId()
The identifier of the application.
- Returns:
- The identifier of the application.
-
associatedResourceId
public final String associatedResourceId()
The identifier of the associated resource.
- Returns:
- The identifier of the associated resource.
-
associatedResourceType
public final ApplicationAssociatedResourceType associatedResourceType()
The resource type of the associated resource.
If the service returns an enum value that is not available in the current SDK version,
associatedResourceTypewill returnApplicationAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociatedResourceTypeAsString().- Returns:
- The resource type of the associated resource.
- See Also:
ApplicationAssociatedResourceType
-
associatedResourceTypeAsString
public final String associatedResourceTypeAsString()
The resource type of the associated resource.
If the service returns an enum value that is not available in the current SDK version,
associatedResourceTypewill returnApplicationAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociatedResourceTypeAsString().- Returns:
- The resource type of the associated resource.
- See Also:
ApplicationAssociatedResourceType
-
created
public final Instant created()
The time the association was created.
- Returns:
- The time the association was created.
-
lastUpdatedTime
public final Instant lastUpdatedTime()
The time the association status was last updated.
- Returns:
- The time the association status was last updated.
-
state
public final AssociationState state()
The status of the application 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 application resource association.
- See Also:
AssociationState
-
stateAsString
public final String stateAsString()
The status of the application 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 application 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 ApplicationResourceAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplicationResourceAssociation.Builder,ApplicationResourceAssociation>
-
builder
public static ApplicationResourceAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplicationResourceAssociation.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.
-
-