Interface DisableFastSnapshotRestoresResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisableFastSnapshotRestoresResponse.Builder,,DisableFastSnapshotRestoresResponse> Ec2Response.Builder,SdkBuilder<DisableFastSnapshotRestoresResponse.Builder,,DisableFastSnapshotRestoresResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisableFastSnapshotRestoresResponse
-
Method Summary
Modifier and TypeMethodDescriptionsuccessful(Collection<DisableFastSnapshotRestoreSuccessItem> successful) Information about the snapshots for which fast snapshot restores were successfully disabled.successful(Consumer<DisableFastSnapshotRestoreSuccessItem.Builder>... successful) Information about the snapshots for which fast snapshot restores were successfully disabled.successful(DisableFastSnapshotRestoreSuccessItem... successful) Information about the snapshots for which fast snapshot restores were successfully disabled.unsuccessful(Collection<DisableFastSnapshotRestoreErrorItem> unsuccessful) Information about the snapshots for which fast snapshot restores could not be disabled.unsuccessful(Consumer<DisableFastSnapshotRestoreErrorItem.Builder>... unsuccessful) Information about the snapshots for which fast snapshot restores could not be disabled.unsuccessful(DisableFastSnapshotRestoreErrorItem... unsuccessful) Information about the snapshots for which fast snapshot restores could not be disabled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
successful
DisableFastSnapshotRestoresResponse.Builder successful(Collection<DisableFastSnapshotRestoreSuccessItem> successful) Information about the snapshots for which fast snapshot restores were successfully disabled.
- Parameters:
successful- Information about the snapshots for which fast snapshot restores were successfully disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
DisableFastSnapshotRestoresResponse.Builder successful(DisableFastSnapshotRestoreSuccessItem... successful) Information about the snapshots for which fast snapshot restores were successfully disabled.
- Parameters:
successful- Information about the snapshots for which fast snapshot restores were successfully disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
DisableFastSnapshotRestoresResponse.Builder successful(Consumer<DisableFastSnapshotRestoreSuccessItem.Builder>... successful) Information about the snapshots for which fast snapshot restores were successfully disabled.
This is a convenience method that creates an instance of theDisableFastSnapshotRestoreSuccessItem.Builderavoiding the need to create one manually viaDisableFastSnapshotRestoreSuccessItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<DisableFastSnapshotRestoreSuccessItem>).- Parameters:
successful- a consumer that will call methods onDisableFastSnapshotRestoreSuccessItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unsuccessful
DisableFastSnapshotRestoresResponse.Builder unsuccessful(Collection<DisableFastSnapshotRestoreErrorItem> unsuccessful) Information about the snapshots for which fast snapshot restores could not be disabled.
- Parameters:
unsuccessful- Information about the snapshots for which fast snapshot restores could not be disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
DisableFastSnapshotRestoresResponse.Builder unsuccessful(DisableFastSnapshotRestoreErrorItem... unsuccessful) Information about the snapshots for which fast snapshot restores could not be disabled.
- Parameters:
unsuccessful- Information about the snapshots for which fast snapshot restores could not be disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
DisableFastSnapshotRestoresResponse.Builder unsuccessful(Consumer<DisableFastSnapshotRestoreErrorItem.Builder>... unsuccessful) Information about the snapshots for which fast snapshot restores could not be disabled.
This is a convenience method that creates an instance of theDisableFastSnapshotRestoreErrorItem.Builderavoiding the need to create one manually viaDisableFastSnapshotRestoreErrorItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounsuccessful(List<DisableFastSnapshotRestoreErrorItem>).- Parameters:
unsuccessful- a consumer that will call methods onDisableFastSnapshotRestoreErrorItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-