Class VolumeReference.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesinstances.VolumeReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VolumeReference>
- Enclosing interface:
VolumeReference
@Stability(Stable)
public static final class VolumeReference.Builder
extends Object
implements software.amazon.jsii.Builder<VolumeReference>
A builder for
VolumeReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofVolumeReference.getVolumeId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
volumeId
Sets the value ofVolumeReference.getVolumeId()- Parameters:
volumeId- The VolumeId of the Volume resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VolumeReference>- Returns:
- a new instance of
VolumeReference - Throws:
NullPointerException- if any required attribute was not provided
-