Class BundleResourceAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.BundleResourceAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BundleResourceAssociation.Builder,BundleResourceAssociation>
@Generated("software.amazon.awssdk:codegen") public final class BundleResourceAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BundleResourceAssociation.Builder,BundleResourceAssociation>
Describes the association between an application and a bundle resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBundleResourceAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassociatedResourceId()The identifier of the associated resource.BundleAssociatedResourceTypeassociatedResourceType()The resource type of the associated resources.StringassociatedResourceTypeAsString()The resource type of the associated resources.static BundleResourceAssociation.Builderbuilder()StringbundleId()The identifier of the bundle.Instantcreated()The time the association is 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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BundleResourceAssociation.Builder>serializableBuilderClass()AssociationStatestate()The status of the bundle resource association.StringstateAsString()The status of the bundle resource association.AssociationStateReasonstateReason()The reason the association deployment failed.BundleResourceAssociation.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 BundleAssociatedResourceType 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 returnBundleAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociatedResourceTypeAsString().- Returns:
- The resource type of the associated resources.
- See Also:
BundleAssociatedResourceType
-
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 returnBundleAssociatedResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociatedResourceTypeAsString().- Returns:
- The resource type of the associated resources.
- See Also:
BundleAssociatedResourceType
-
bundleId
public final String bundleId()
The identifier of the bundle.
- Returns:
- The identifier of the bundle.
-
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.
-
state
public final AssociationState state()
The status of the bundle 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 bundle resource association.
- See Also:
AssociationState
-
stateAsString
public final String stateAsString()
The status of the bundle 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 bundle 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 BundleResourceAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BundleResourceAssociation.Builder,BundleResourceAssociation>
-
builder
public static BundleResourceAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends BundleResourceAssociation.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-