Class CfnStorageProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnStorageProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageProfileProps>
- Enclosing interface:
CfnStorageProfileProps
@Stability(Stable)
public static final class CfnStorageProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageProfileProps>
A builder for
CfnStorageProfileProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.displayName(String displayName) Sets the value ofCfnStorageProfileProps.getDisplayName()Sets the value ofCfnStorageProfileProps.getFarmId()fileSystemLocations(List<? extends Object> fileSystemLocations) Sets the value ofCfnStorageProfileProps.getFileSystemLocations()fileSystemLocations(IResolvable fileSystemLocations) Sets the value ofCfnStorageProfileProps.getFileSystemLocations()Sets the value ofCfnStorageProfileProps.getOsFamily()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofCfnStorageProfileProps.getDisplayName()- Parameters:
displayName- The display name of the storage profile summary to update. This parameter is required.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
this
-
farmId
Sets the value ofCfnStorageProfileProps.getFarmId()- Parameters:
farmId- The unique identifier of the farm that contains the storage profile. This parameter is required.- Returns:
this
-
osFamily
Sets the value ofCfnStorageProfileProps.getOsFamily()- Parameters:
osFamily- The operating system (OS) family. This parameter is required.- Returns:
this
-
fileSystemLocations
@Stability(Stable) public CfnStorageProfileProps.Builder fileSystemLocations(IResolvable fileSystemLocations) Sets the value ofCfnStorageProfileProps.getFileSystemLocations()- Parameters:
fileSystemLocations- Operating system specific file system path to the storage location.- Returns:
this
-
fileSystemLocations
@Stability(Stable) public CfnStorageProfileProps.Builder fileSystemLocations(List<? extends Object> fileSystemLocations) Sets the value ofCfnStorageProfileProps.getFileSystemLocations()- Parameters:
fileSystemLocations- Operating system specific file system path to the storage location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageProfileProps>- Returns:
- a new instance of
CfnStorageProfileProps - Throws:
NullPointerException- if any required attribute was not provided
-