Interface CreateStorageProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateStorageProfileRequest.Builder,
,CreateStorageProfileRequest> DeadlineRequest.Builder
,SdkBuilder<CreateStorageProfileRequest.Builder,
,CreateStorageProfileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateStorageProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The unique token which the server uses to recognize retries of the same request.displayName
(String displayName) The display name of the storage profile.The farm ID of the farm to connect to the storage profile.fileSystemLocations
(Collection<FileSystemLocation> fileSystemLocations) File system paths to include in the storage profile.fileSystemLocations
(Consumer<FileSystemLocation.Builder>... fileSystemLocations) File system paths to include in the storage profile.fileSystemLocations
(FileSystemLocation... fileSystemLocations) File system paths to include in the storage profile.The type of operating system (OS) for the storage profile.osFamily
(StorageProfileOperatingSystemFamily osFamily) The type of operating system (OS) for the storage profile.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.services.deadline.model.DeadlineRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
The unique token which the server uses to recognize retries of the same request.
- Parameters:
clientToken
- The unique token which the server uses to recognize retries of the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
The farm ID of the farm to connect to the storage profile.
- Parameters:
farmId
- The farm ID of the farm to connect to the storage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the storage profile.
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.
- Parameters:
displayName
- The display name of the storage profile.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:
- Returns a reference to this object so that method calls can be chained together.
-
osFamily
The type of operating system (OS) for the storage profile.
- Parameters:
osFamily
- The type of operating system (OS) for the storage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osFamily
The type of operating system (OS) for the storage profile.
- Parameters:
osFamily
- The type of operating system (OS) for the storage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileSystemLocations
CreateStorageProfileRequest.Builder fileSystemLocations(Collection<FileSystemLocation> fileSystemLocations) File system paths to include in the storage profile.
- Parameters:
fileSystemLocations
- File system paths to include in the storage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemLocations
File system paths to include in the storage profile.
- Parameters:
fileSystemLocations
- File system paths to include in the storage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemLocations
CreateStorageProfileRequest.Builder fileSystemLocations(Consumer<FileSystemLocation.Builder>... fileSystemLocations) File system paths to include in the storage profile.
This is a convenience method that creates an instance of theFileSystemLocation.Builder
avoiding the need to create one manually viaFileSystemLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileSystemLocations(List<FileSystemLocation>)
.- Parameters:
fileSystemLocations
- a consumer that will call methods onFileSystemLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateStorageProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateStorageProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-