Interface CreateWorkspaceImageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateWorkspaceImageResponse.Builder,CreateWorkspaceImageResponse>,SdkBuilder<CreateWorkspaceImageResponse.Builder,CreateWorkspaceImageResponse>,SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
- CreateWorkspaceImageResponse
public static interface CreateWorkspaceImageResponse.Builder extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceImageResponse.Builder,CreateWorkspaceImageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateWorkspaceImageResponse.Buildercreated(Instant created)The date when the image was created.CreateWorkspaceImageResponse.Builderdescription(String description)The description of the image.CreateWorkspaceImageResponse.BuilderimageId(String imageId)The identifier of the new WorkSpace image.CreateWorkspaceImageResponse.Buildername(String name)The name of the image.default CreateWorkspaceImageResponse.BuilderoperatingSystem(Consumer<OperatingSystem.Builder> operatingSystem)The operating system that the image is running.CreateWorkspaceImageResponse.BuilderoperatingSystem(OperatingSystem operatingSystem)The operating system that the image is running.CreateWorkspaceImageResponse.BuilderownerAccountId(String ownerAccountId)The identifier of the Amazon Web Services account that owns the image.CreateWorkspaceImageResponse.BuilderrequiredTenancy(String requiredTenancy)Specifies whether the image is running on dedicated hardware.CreateWorkspaceImageResponse.BuilderrequiredTenancy(WorkspaceImageRequiredTenancy requiredTenancy)Specifies whether the image is running on dedicated hardware.CreateWorkspaceImageResponse.Builderstate(String state)The availability status of the image.CreateWorkspaceImageResponse.Builderstate(WorkspaceImageState state)The availability status of the image.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
imageId
CreateWorkspaceImageResponse.Builder imageId(String imageId)
The identifier of the new WorkSpace image.
- Parameters:
imageId- The identifier of the new WorkSpace image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateWorkspaceImageResponse.Builder name(String name)
The name of the image.
- Parameters:
name- The name of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateWorkspaceImageResponse.Builder description(String description)
The description of the image.
- Parameters:
description- The description of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystem
CreateWorkspaceImageResponse.Builder operatingSystem(OperatingSystem operatingSystem)
The operating system that the image is running.
- Parameters:
operatingSystem- The operating system that the image is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystem
default CreateWorkspaceImageResponse.Builder operatingSystem(Consumer<OperatingSystem.Builder> operatingSystem)
The operating system that the image is running.
This is a convenience method that creates an instance of theOperatingSystem.Builderavoiding the need to create one manually viaOperatingSystem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperatingSystem(OperatingSystem).- Parameters:
operatingSystem- a consumer that will call methods onOperatingSystem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
operatingSystem(OperatingSystem)
-
state
CreateWorkspaceImageResponse.Builder state(String state)
The availability status of the image.
- Parameters:
state- The availability status of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkspaceImageState,WorkspaceImageState
-
state
CreateWorkspaceImageResponse.Builder state(WorkspaceImageState state)
The availability status of the image.
- Parameters:
state- The availability status of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkspaceImageState,WorkspaceImageState
-
requiredTenancy
CreateWorkspaceImageResponse.Builder requiredTenancy(String 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..
- Parameters:
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..- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkspaceImageRequiredTenancy,WorkspaceImageRequiredTenancy
-
requiredTenancy
CreateWorkspaceImageResponse.Builder requiredTenancy(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..
- Parameters:
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..- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkspaceImageRequiredTenancy,WorkspaceImageRequiredTenancy
-
created
CreateWorkspaceImageResponse.Builder created(Instant created)
The date when the image was created.
- Parameters:
created- The date when the image was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccountId
CreateWorkspaceImageResponse.Builder ownerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the image.
- Parameters:
ownerAccountId- The identifier of the Amazon Web Services account that owns the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-