Interface CreateWorkspaceBundleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkspaceBundleRequest.Builder,CreateWorkspaceBundleRequest>,SdkBuilder<CreateWorkspaceBundleRequest.Builder,CreateWorkspaceBundleRequest>,SdkPojo,SdkRequest.Builder,WorkSpacesRequest.Builder
- Enclosing class:
- CreateWorkspaceBundleRequest
public static interface CreateWorkspaceBundleRequest.Builder extends WorkSpacesRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceBundleRequest.Builder,CreateWorkspaceBundleRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.workspaces.model.WorkSpacesRequest.Builder
build
-
-
-
-
Method Detail
-
bundleName
CreateWorkspaceBundleRequest.Builder bundleName(String bundleName)
The name of the bundle.
- Parameters:
bundleName- The name of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleDescription
CreateWorkspaceBundleRequest.Builder bundleDescription(String bundleDescription)
The description of the bundle.
- Parameters:
bundleDescription- The description of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
CreateWorkspaceBundleRequest.Builder imageId(String imageId)
The identifier of the image that is used to create the bundle.
- Parameters:
imageId- The identifier of the image that is used to create the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeType
CreateWorkspaceBundleRequest.Builder computeType(ComputeType computeType)
Sets the value of the ComputeType property for this object.- Parameters:
computeType- The new value for the ComputeType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeType
default CreateWorkspaceBundleRequest.Builder computeType(Consumer<ComputeType.Builder> computeType)
Sets the value of the ComputeType property for this object. 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:
computeType(ComputeType)
-
userStorage
CreateWorkspaceBundleRequest.Builder userStorage(UserStorage userStorage)
Sets the value of the UserStorage property for this object.- Parameters:
userStorage- The new value for the UserStorage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userStorage
default CreateWorkspaceBundleRequest.Builder userStorage(Consumer<UserStorage.Builder> userStorage)
Sets the value of the UserStorage property for this object. 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:
userStorage(UserStorage)
-
rootStorage
CreateWorkspaceBundleRequest.Builder rootStorage(RootStorage rootStorage)
Sets the value of the RootStorage property for this object.- Parameters:
rootStorage- The new value for the RootStorage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootStorage
default CreateWorkspaceBundleRequest.Builder rootStorage(Consumer<RootStorage.Builder> rootStorage)
Sets the value of the RootStorage property for this object. 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:
rootStorage(RootStorage)
-
tags
CreateWorkspaceBundleRequest.Builder tags(Collection<Tag> tags)
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags.- Parameters:
tags- The tags associated with the bundle.To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWorkspaceBundleRequest.Builder tags(Tag... tags)
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags.- Parameters:
tags- The tags associated with the bundle.To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWorkspaceBundleRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the bundle.
This is a convenience method that creates an instance of theTo add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateWorkspaceBundleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWorkspaceBundleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-