Interface CreateSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSnapshotResponse.Builder,CreateSnapshotResponse>,FSxResponse.Builder,SdkBuilder<CreateSnapshotResponse.Builder,CreateSnapshotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSnapshotResponse
public static interface CreateSnapshotResponse.Builder extends FSxResponse.Builder, SdkPojo, CopyableBuilder<CreateSnapshotResponse.Builder,CreateSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateSnapshotResponse.Buildersnapshot(Consumer<Snapshot.Builder> snapshot)A description of the snapshot.CreateSnapshotResponse.Buildersnapshot(Snapshot snapshot)A description of the snapshot.-
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
-
snapshot
CreateSnapshotResponse.Builder snapshot(Snapshot snapshot)
A description of the snapshot.
- Parameters:
snapshot- A description of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshot
default CreateSnapshotResponse.Builder snapshot(Consumer<Snapshot.Builder> snapshot)
A description of the snapshot.
This is a convenience method that creates an instance of theSnapshot.Builderavoiding the need to create one manually viaSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnapshot(Snapshot).- Parameters:
snapshot- a consumer that will call methods onSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
snapshot(Snapshot)
-
-