Interface UpdateSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateSnapshotResponse.Builder,,UpdateSnapshotResponse> FSxResponse.Builder,SdkBuilder<UpdateSnapshotResponse.Builder,,UpdateSnapshotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateSnapshotResponse
public static interface UpdateSnapshotResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<UpdateSnapshotResponse.Builder,UpdateSnapshotResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateSnapshotResponse.Buildersnapshot(Consumer<Snapshot.Builder> snapshot) Returned after a successfulUpdateSnapshotoperation, describing the snapshot that you updated.Returned after a successfulUpdateSnapshotoperation, describing the snapshot that you updated.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
-
snapshot
Returned after a successful
UpdateSnapshotoperation, describing the snapshot that you updated.- Parameters:
snapshot- Returned after a successfulUpdateSnapshotoperation, describing the snapshot that you updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshot
Returned after a successful
This is a convenience method that creates an instance of theUpdateSnapshotoperation, describing the snapshot that you updated.Snapshot.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:
-