Interface ReleaseFileSystemNfsV3LocksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ReleaseFileSystemNfsV3LocksResponse.Builder,
,ReleaseFileSystemNfsV3LocksResponse> FSxResponse.Builder
,SdkBuilder<ReleaseFileSystemNfsV3LocksResponse.Builder,
,ReleaseFileSystemNfsV3LocksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ReleaseFileSystemNfsV3LocksResponse
public static interface ReleaseFileSystemNfsV3LocksResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<ReleaseFileSystemNfsV3LocksResponse.Builder,ReleaseFileSystemNfsV3LocksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfileSystem
(Consumer<FileSystem.Builder> fileSystem) Sets the value of the FileSystem property for this object.fileSystem
(FileSystem fileSystem) Sets the value of the FileSystem property for this object.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
Sets the value of the FileSystem property for this object.- Parameters:
fileSystem
- The new value for the FileSystem property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystem
default ReleaseFileSystemNfsV3LocksResponse.Builder fileSystem(Consumer<FileSystem.Builder> fileSystem) Sets the value of the FileSystem property for this object. 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:
-