public static interface WorkspaceBundle.Builder extends SdkPojo, CopyableBuilder<WorkspaceBundle.Builder,WorkspaceBundle>
Modifier and Type | Method and Description |
---|---|
WorkspaceBundle.Builder |
bundleId(String bundleId)
The bundle identifier.
|
WorkspaceBundle.Builder |
computeType(ComputeType computeType)
The compute type.
|
default WorkspaceBundle.Builder |
computeType(Consumer<ComputeType.Builder> computeType)
The compute type.
|
WorkspaceBundle.Builder |
description(String description)
A description.
|
WorkspaceBundle.Builder |
name(String name)
The name of the bundle.
|
WorkspaceBundle.Builder |
owner(String owner)
The owner of the bundle.
|
default WorkspaceBundle.Builder |
rootStorage(Consumer<RootStorage.Builder> rootStorage)
The size of the root volume.
|
WorkspaceBundle.Builder |
rootStorage(RootStorage rootStorage)
The size of the root volume.
|
default WorkspaceBundle.Builder |
userStorage(Consumer<UserStorage.Builder> userStorage)
The size of the user storage.
|
WorkspaceBundle.Builder |
userStorage(UserStorage userStorage)
The size of the user storage.
|
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 is the account identifier of the owner, or AMAZON
if the bundle is
provided by AWS.
owner
- The owner of the bundle. This is the account identifier of the owner, or AMAZON
if the
bundle is provided by AWS.WorkspaceBundle.Builder description(String description)
A description.
description
- A description.WorkspaceBundle.Builder rootStorage(RootStorage rootStorage)
The size of the root volume.
rootStorage
- The size of the root volume.default WorkspaceBundle.Builder rootStorage(Consumer<RootStorage.Builder> rootStorage)
The size of the root volume.
This is a convenience that creates an instance of theRootStorage.Builder
avoiding the need to create
one manually via RootStorage.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to rootStorage(RootStorage)
.rootStorage
- a consumer that will call methods on RootStorage.Builder
rootStorage(RootStorage)
WorkspaceBundle.Builder userStorage(UserStorage userStorage)
The size of the user storage.
userStorage
- The size of the user storage.default WorkspaceBundle.Builder userStorage(Consumer<UserStorage.Builder> userStorage)
The size of the user storage.
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)
The compute type. For more information, see Amazon WorkSpaces Bundles.
computeType
- The compute type. For more information, see Amazon WorkSpaces
Bundles.default WorkspaceBundle.Builder computeType(Consumer<ComputeType.Builder> computeType)
The compute type. For more information, see Amazon WorkSpaces Bundles.
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.