Interface WorkspaceBundle.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceBundle.Builder,,WorkspaceBundle> SdkBuilder<WorkspaceBundle.Builder,,WorkspaceBundle> SdkPojo
- Enclosing class:
WorkspaceBundle
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bundle.bundleType(String bundleType) The type of WorkSpace bundle.bundleType(BundleType bundleType) The type of WorkSpace bundle.default WorkspaceBundle.BuildercomputeType(Consumer<ComputeType.Builder> computeType) The compute type of the bundle.computeType(ComputeType computeType) The compute type of the bundle.creationTime(Instant creationTime) The time when the bundle was created.description(String description) The description of the bundle.The identifier of the image that was used to create the bundle.lastUpdatedTime(Instant lastUpdatedTime) The last time that the bundle was updated.The name of the bundle.The owner of the bundle.default WorkspaceBundle.BuilderrootStorage(Consumer<RootStorage.Builder> rootStorage) The size of the root volume.rootStorage(RootStorage rootStorage) The size of the root volume.The state of the WorkSpace bundle.state(WorkspaceBundleState state) The state of the WorkSpace bundle.default WorkspaceBundle.BuilderuserStorage(Consumer<UserStorage.Builder> userStorage) The size of the user volume.userStorage(UserStorage userStorage) The size of the user volume.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bundleId
The identifier of the bundle.
- Parameters:
bundleId- The identifier of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the bundle.
- Parameters:
name- The name of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The owner of the bundle. This is the account identifier of the owner, or
AMAZONif the bundle is provided by Amazon Web Services.- Parameters:
owner- The owner of the bundle. This is the account identifier of the owner, orAMAZONif the bundle is provided by Amazon Web Services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the bundle.
- Parameters:
description- The description of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
The identifier of the image that was used to create the bundle.
- Parameters:
imageId- The identifier of the image that was used to create the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootStorage
The size of the root volume.
- Parameters:
rootStorage- The size of the root volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootStorage
The size of the root volume.
This is a convenience method that creates an instance of theRootStorage.Builderavoiding the need to create one manually viaRootStorage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torootStorage(RootStorage).- Parameters:
rootStorage- a consumer that will call methods onRootStorage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userStorage
The size of the user volume.
- Parameters:
userStorage- The size of the user volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userStorage
The size of the user volume.
This is a convenience method that creates an instance of theUserStorage.Builderavoiding the need to create one manually viaUserStorage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserStorage(UserStorage).- Parameters:
userStorage- a consumer that will call methods onUserStorage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computeType
The compute type of the bundle. For more information, see Amazon WorkSpaces Bundles.
- Parameters:
computeType- The compute type of the bundle. For more information, see Amazon WorkSpaces Bundles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeType
The compute type of the bundle. For more information, see Amazon WorkSpaces Bundles.
This is a convenience method that creates an instance of theComputeType.Builderavoiding the need to create one manually viaComputeType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomputeType(ComputeType).- Parameters:
computeType- a consumer that will call methods onComputeType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedTime
The last time that the bundle was updated.
- Parameters:
lastUpdatedTime- The last time that the bundle was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time when the bundle was created.
- Parameters:
creationTime- The time when the bundle was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the WorkSpace bundle.
- Parameters:
state- The state of the WorkSpace bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the WorkSpace bundle.
- Parameters:
state- The state of the WorkSpace bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bundleType
The type of WorkSpace bundle.
- Parameters:
bundleType- The type of WorkSpace bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bundleType
The type of WorkSpace bundle.
- Parameters:
bundleType- The type of WorkSpace bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-