public static interface WorkspaceBundle.Builder extends CopyableBuilder<WorkspaceBundle.Builder,WorkspaceBundle>
Modifier and Type | Method and Description |
---|---|
WorkspaceBundle.Builder |
bundleId(String bundleId)
The bundle identifier.
|
WorkspaceBundle.Builder |
computeType(ComputeType computeType)
A ComputeType object that specifies the compute type for the bundle.
|
default WorkspaceBundle.Builder |
computeType(Consumer<ComputeType.Builder> computeType)
A ComputeType object that specifies the compute type for the bundle.
|
WorkspaceBundle.Builder |
description(String description)
The bundle description.
|
WorkspaceBundle.Builder |
name(String name)
The name of the bundle.
|
WorkspaceBundle.Builder |
owner(String owner)
The owner of the bundle.
|
default WorkspaceBundle.Builder |
userStorage(Consumer<UserStorage.Builder> userStorage)
A UserStorage object that specifies the amount of user storage that the bundle contains.
|
WorkspaceBundle.Builder |
userStorage(UserStorage userStorage)
A UserStorage object that specifies the amount of user storage that the bundle contains.
|
copy
applyMutation, build
WorkspaceBundle.Builder bundleId(String bundleId)
The bundle identifier.
bundleId
- The bundle identifier.WorkspaceBundle.Builder name(String name)
The name of the bundle.
name
- The name of the bundle.WorkspaceBundle.Builder owner(String owner)
The owner of the bundle. This contains the owner's account identifier, or AMAZON
if the bundle
is provided by AWS.
owner
- The owner of the bundle. This contains the owner's account identifier, or AMAZON
if the
bundle is provided by AWS.WorkspaceBundle.Builder description(String description)
The bundle description.
description
- The bundle description.WorkspaceBundle.Builder userStorage(UserStorage userStorage)
A UserStorage object that specifies the amount of user storage that the bundle contains.
userStorage
- A UserStorage object that specifies the amount of user storage that the bundle contains.default WorkspaceBundle.Builder userStorage(Consumer<UserStorage.Builder> userStorage)
A UserStorage object that specifies the amount of user storage that the bundle contains.
This is a convenience that creates an instance of theUserStorage.Builder
avoiding the need to create
one manually via UserStorage.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to userStorage(UserStorage)
.userStorage
- a consumer that will call methods on UserStorage.Builder
userStorage(UserStorage)
WorkspaceBundle.Builder computeType(ComputeType computeType)
A ComputeType object that specifies the compute type for the bundle.
computeType
- A ComputeType object that specifies the compute type for the bundle.default WorkspaceBundle.Builder computeType(Consumer<ComputeType.Builder> computeType)
A ComputeType object that specifies the compute type for the bundle.
This is a convenience that creates an instance of theComputeType.Builder
avoiding the need to create
one manually via ComputeType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to computeType(ComputeType)
.computeType
- a consumer that will call methods on ComputeType.Builder
computeType(ComputeType)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.