Class WorkspaceBundle
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkspaceBundle.Builder,WorkspaceBundle>
Describes a WorkSpace bundle.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkspaceBundle.Builderbuilder()final StringbundleId()The identifier of the bundle.final BundleTypeThe type of WorkSpace bundle.final StringThe type of WorkSpace bundle.final ComputeTypeThe compute type of the bundle.final InstantThe time when the bundle was created.final StringThe description of the bundle.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringimageId()The identifier of the image that was used to create the bundle.final InstantThe last time that the bundle was updated.final Stringname()The name of the bundle.final Stringowner()The owner of the bundle.final RootStorageThe size of the root volume.static Class<? extends WorkspaceBundle.Builder> final WorkspaceBundleStatestate()The state of the WorkSpace bundle.final StringThe state of the WorkSpace bundle.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final UserStorageThe size of the user volume.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
bundleId
-
name
-
owner
The owner of the bundle. This is the account identifier of the owner, or
AMAZONif the bundle is provided by Amazon Web Services.- Returns:
- The owner of the bundle. This is the account identifier of the owner, or
AMAZONif the bundle is provided by Amazon Web Services.
-
description
The description of the bundle.
- Returns:
- The description of the bundle.
-
imageId
The identifier of the image that was used to create the bundle.
- Returns:
- The identifier of the image that was used to create the bundle.
-
rootStorage
The size of the root volume.
- Returns:
- The size of the root volume.
-
userStorage
The size of the user volume.
- Returns:
- The size of the user volume.
-
computeType
The compute type of the bundle. For more information, see Amazon WorkSpaces Bundles.
- Returns:
- The compute type of the bundle. For more information, see Amazon WorkSpaces Bundles.
-
lastUpdatedTime
The last time that the bundle was updated.
- Returns:
- The last time that the bundle was updated.
-
creationTime
The time when the bundle was created.
- Returns:
- The time when the bundle was created.
-
state
The state of the WorkSpace bundle.
If the service returns an enum value that is not available in the current SDK version,
statewill returnWorkspaceBundleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the WorkSpace bundle.
- See Also:
-
stateAsString
The state of the WorkSpace bundle.
If the service returns an enum value that is not available in the current SDK version,
statewill returnWorkspaceBundleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the WorkSpace bundle.
- See Also:
-
bundleType
The type of WorkSpace bundle.
If the service returns an enum value that is not available in the current SDK version,
bundleTypewill returnBundleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombundleTypeAsString().- Returns:
- The type of WorkSpace bundle.
- See Also:
-
bundleTypeAsString
The type of WorkSpace bundle.
If the service returns an enum value that is not available in the current SDK version,
bundleTypewill returnBundleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombundleTypeAsString().- Returns:
- The type of WorkSpace bundle.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkspaceBundle.Builder,WorkspaceBundle> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-