Class StorageProfileReference.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.StorageProfileReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageProfileReference>
- Enclosing interface:
StorageProfileReference
@Stability(Stable)
public static final class StorageProfileReference.Builder
extends Object
implements software.amazon.jsii.Builder<StorageProfileReference>
A builder for
StorageProfileReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofStorageProfileReference.getFarmId()
storageProfileId
(String storageProfileId) Sets the value ofStorageProfileReference.getStorageProfileId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
farmId
Sets the value ofStorageProfileReference.getFarmId()
- Parameters:
farmId
- The FarmId of the StorageProfile resource. This parameter is required.- Returns:
this
-
storageProfileId
Sets the value ofStorageProfileReference.getStorageProfileId()
- Parameters:
storageProfileId
- The StorageProfileId of the StorageProfile resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<StorageProfileReference>
- Returns:
- a new instance of
StorageProfileReference
- Throws:
NullPointerException
- if any required attribute was not provided
-