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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateFileSystemResponse.BuilderfileSystem(Consumer<FileSystem.Builder> fileSystem)The configuration of the file system that was created.CreateFileSystemResponse.BuilderfileSystem(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fileSystem
CreateFileSystemResponse.Builder fileSystem(FileSystem 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
default CreateFileSystemResponse.Builder fileSystem(Consumer<FileSystem.Builder> 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:
fileSystem(FileSystem)
-
-