Interface CreateFileSystemResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateFileSystemResponse.Builder,
,CreateFileSystemResponse> FSxResponse.Builder
,SdkBuilder<CreateFileSystemResponse.Builder,
,CreateFileSystemResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateFileSystemResponse
public static interface CreateFileSystemResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<CreateFileSystemResponse.Builder,CreateFileSystemResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateFileSystemResponse.Builder
fileSystem
(Consumer<FileSystem.Builder> fileSystem) The configuration of the file system that was created.fileSystem
(FileSystem fileSystem) The configuration of the file system that was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fileSystem
The configuration of the file system that was created.
- Parameters:
fileSystem
- The configuration of the file system that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystem
The configuration of the file system that was created.
This is a convenience method that creates an instance of theFileSystem.Builder
avoiding the need to create one manually viaFileSystem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileSystem(FileSystem)
.- Parameters:
fileSystem
- a consumer that will call methods onFileSystem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-