Class CreateWorkspaceImageResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse
-
- software.amazon.awssdk.services.workspaces.model.CreateWorkspaceImageResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateWorkspaceImageResponse.Builder,CreateWorkspaceImageResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateWorkspaceImageResponse extends WorkSpacesResponse implements ToCopyableBuilder<CreateWorkspaceImageResponse.Builder,CreateWorkspaceImageResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateWorkspaceImageResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateWorkspaceImageResponse.Builderbuilder()Instantcreated()The date when the image was created.Stringdescription()The description of the image.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimageId()The identifier of the new WorkSpace image.Stringname()The name of the image.OperatingSystemoperatingSystem()The operating system that the image is running.StringownerAccountId()The identifier of the Amazon Web Services account that owns the image.WorkspaceImageRequiredTenancyrequiredTenancy()Specifies whether the image is running on dedicated hardware.StringrequiredTenancyAsString()Specifies whether the image is running on dedicated hardware.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateWorkspaceImageResponse.Builder>serializableBuilderClass()WorkspaceImageStatestate()The availability status of the image.StringstateAsString()The availability status of the image.CreateWorkspaceImageResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
imageId
public final String imageId()
The identifier of the new WorkSpace image.
- Returns:
- The identifier of the new WorkSpace image.
-
name
public final String name()
The name of the image.
- Returns:
- The name of the image.
-
description
public final String description()
The description of the image.
- Returns:
- The description of the image.
-
operatingSystem
public final OperatingSystem operatingSystem()
The operating system that the image is running.
- Returns:
- The operating system that the image is running.
-
state
public final WorkspaceImageState state()
The availability status of the image.
If the service returns an enum value that is not available in the current SDK version,
statewill returnWorkspaceImageState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The availability status of the image.
- See Also:
WorkspaceImageState
-
stateAsString
public final String stateAsString()
The availability status of the image.
If the service returns an enum value that is not available in the current SDK version,
statewill returnWorkspaceImageState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The availability status of the image.
- See Also:
WorkspaceImageState
-
requiredTenancy
public final WorkspaceImageRequiredTenancy requiredTenancy()
Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images..
If the service returns an enum value that is not available in the current SDK version,
requiredTenancywill returnWorkspaceImageRequiredTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequiredTenancyAsString().- Returns:
- Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images..
- See Also:
WorkspaceImageRequiredTenancy
-
requiredTenancyAsString
public final String requiredTenancyAsString()
Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images..
If the service returns an enum value that is not available in the current SDK version,
requiredTenancywill returnWorkspaceImageRequiredTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequiredTenancyAsString().- Returns:
- Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images..
- See Also:
WorkspaceImageRequiredTenancy
-
created
public final Instant created()
The date when the image was created.
- Returns:
- The date when the image was created.
-
ownerAccountId
public final String ownerAccountId()
The identifier of the Amazon Web Services account that owns the image.
- Returns:
- The identifier of the Amazon Web Services account that owns the image.
-
toBuilder
public CreateWorkspaceImageResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateWorkspaceImageResponse.Builder,CreateWorkspaceImageResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateWorkspaceImageResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateWorkspaceImageResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-