Interface DisableFastSnapshotRestoresResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisableFastSnapshotRestoresResponse.Builder,DisableFastSnapshotRestoresResponse>,Ec2Response.Builder,SdkBuilder<DisableFastSnapshotRestoresResponse.Builder,DisableFastSnapshotRestoresResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DisableFastSnapshotRestoresResponse
public static interface DisableFastSnapshotRestoresResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DisableFastSnapshotRestoresResponse.Builder,DisableFastSnapshotRestoresResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DisableFastSnapshotRestoresResponse.Buildersuccessful(Collection<DisableFastSnapshotRestoreSuccessItem> successful)Information about the snapshots for which fast snapshot restores were successfully disabled.DisableFastSnapshotRestoresResponse.Buildersuccessful(Consumer<DisableFastSnapshotRestoreSuccessItem.Builder>... successful)Information about the snapshots for which fast snapshot restores were successfully disabled.DisableFastSnapshotRestoresResponse.Buildersuccessful(DisableFastSnapshotRestoreSuccessItem... successful)Information about the snapshots for which fast snapshot restores were successfully disabled.DisableFastSnapshotRestoresResponse.Builderunsuccessful(Collection<DisableFastSnapshotRestoreErrorItem> unsuccessful)Information about the snapshots for which fast snapshot restores could not be disabled.DisableFastSnapshotRestoresResponse.Builderunsuccessful(Consumer<DisableFastSnapshotRestoreErrorItem.Builder>... unsuccessful)Information about the snapshots for which fast snapshot restores could not be disabled.DisableFastSnapshotRestoresResponse.Builderunsuccessful(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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 Detail
-
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 to#successful(List.) - 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:
#successful(java.util.Collection)
-
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 to#unsuccessful(List.) - 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:
#unsuccessful(java.util.Collection)
-
-