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.BuilderfileSystem(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
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaFileSystem.builder().When the
Consumercompletes,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:
-