Class WorkspaceBundle
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.WorkspaceBundle
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkspaceBundle.Builder,WorkspaceBundle>
@Generated("software.amazon.awssdk:codegen") public final class WorkspaceBundle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspaceBundle.Builder,WorkspaceBundle>
Describes a WorkSpace bundle.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkspaceBundle.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkspaceBundle.Builderbuilder()StringbundleId()The identifier of the bundle.BundleTypebundleType()The type of WorkSpace bundle.StringbundleTypeAsString()The type of WorkSpace bundle.ComputeTypecomputeType()The compute type of the bundle.InstantcreationTime()The time when the bundle was created.Stringdescription()The description of the bundle.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimageId()The identifier of the image that was used to create the bundle.InstantlastUpdatedTime()The last time that the bundle was updated.Stringname()The name of the bundle.Stringowner()The owner of the bundle.RootStoragerootStorage()The size of the root volume.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WorkspaceBundle.Builder>serializableBuilderClass()WorkspaceBundleStatestate()The state of the WorkSpace bundle.StringstateAsString()The state of the WorkSpace bundle.WorkspaceBundle.BuildertoBuilder()StringtoString()Returns a string representation of this object.UserStorageuserStorage()The size of the user volume.-
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
-
bundleId
public final String bundleId()
The identifier of the bundle.
- Returns:
- The identifier of the bundle.
-
name
public final String name()
The name of the bundle.
- Returns:
- The name of the bundle.
-
owner
public final String 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
public final String description()
The description of the bundle.
- Returns:
- The description of the bundle.
-
imageId
public final String 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
public final RootStorage rootStorage()
The size of the root volume.
- Returns:
- The size of the root volume.
-
userStorage
public final UserStorage userStorage()
The size of the user volume.
- Returns:
- The size of the user volume.
-
computeType
public final ComputeType 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
public final Instant lastUpdatedTime()
The last time that the bundle was updated.
- Returns:
- The last time that the bundle was updated.
-
creationTime
public final Instant creationTime()
The time when the bundle was created.
- Returns:
- The time when the bundle was created.
-
state
public final WorkspaceBundleState 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:
WorkspaceBundleState
-
stateAsString
public final String 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:
WorkspaceBundleState
-
bundleType
public final BundleType 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:
BundleType
-
bundleTypeAsString
public final String 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:
BundleType
-
toBuilder
public WorkspaceBundle.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkspaceBundle.Builder,WorkspaceBundle>
-
builder
public static WorkspaceBundle.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkspaceBundle.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
-
-