Interface EnableFastSnapshotRestoresResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<EnableFastSnapshotRestoresResponse.Builder,,EnableFastSnapshotRestoresResponse> Ec2Response.Builder,SdkBuilder<EnableFastSnapshotRestoresResponse.Builder,,EnableFastSnapshotRestoresResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
EnableFastSnapshotRestoresResponse
-
Method Summary
Modifier and TypeMethodDescriptionsuccessful(Collection<EnableFastSnapshotRestoreSuccessItem> successful) Information about the snapshots for which fast snapshot restores were successfully enabled.successful(Consumer<EnableFastSnapshotRestoreSuccessItem.Builder>... successful) Information about the snapshots for which fast snapshot restores were successfully enabled.successful(EnableFastSnapshotRestoreSuccessItem... successful) Information about the snapshots for which fast snapshot restores were successfully enabled.unsuccessful(Collection<EnableFastSnapshotRestoreErrorItem> unsuccessful) Information about the snapshots for which fast snapshot restores could not be enabled.unsuccessful(Consumer<EnableFastSnapshotRestoreErrorItem.Builder>... unsuccessful) Information about the snapshots for which fast snapshot restores could not be enabled.unsuccessful(EnableFastSnapshotRestoreErrorItem... unsuccessful) Information about the snapshots for which fast snapshot restores could not be enabled.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successful
EnableFastSnapshotRestoresResponse.Builder successful(Collection<EnableFastSnapshotRestoreSuccessItem> successful) Information about the snapshots for which fast snapshot restores were successfully enabled.
- Parameters:
successful- Information about the snapshots for which fast snapshot restores were successfully enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
EnableFastSnapshotRestoresResponse.Builder successful(EnableFastSnapshotRestoreSuccessItem... successful) Information about the snapshots for which fast snapshot restores were successfully enabled.
- Parameters:
successful- Information about the snapshots for which fast snapshot restores were successfully enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
EnableFastSnapshotRestoresResponse.Builder successful(Consumer<EnableFastSnapshotRestoreSuccessItem.Builder>... successful) Information about the snapshots for which fast snapshot restores were successfully enabled.
This is a convenience method that creates an instance of theEnableFastSnapshotRestoreSuccessItem.Builderavoiding the need to create one manually viaEnableFastSnapshotRestoreSuccessItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<EnableFastSnapshotRestoreSuccessItem>).- Parameters:
successful- a consumer that will call methods onEnableFastSnapshotRestoreSuccessItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unsuccessful
EnableFastSnapshotRestoresResponse.Builder unsuccessful(Collection<EnableFastSnapshotRestoreErrorItem> unsuccessful) Information about the snapshots for which fast snapshot restores could not be enabled.
- Parameters:
unsuccessful- Information about the snapshots for which fast snapshot restores could not be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
EnableFastSnapshotRestoresResponse.Builder unsuccessful(EnableFastSnapshotRestoreErrorItem... unsuccessful) Information about the snapshots for which fast snapshot restores could not be enabled.
- Parameters:
unsuccessful- Information about the snapshots for which fast snapshot restores could not be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
EnableFastSnapshotRestoresResponse.Builder unsuccessful(Consumer<EnableFastSnapshotRestoreErrorItem.Builder>... unsuccessful) Information about the snapshots for which fast snapshot restores could not be enabled.
This is a convenience method that creates an instance of theEnableFastSnapshotRestoreErrorItem.Builderavoiding the need to create one manually viaEnableFastSnapshotRestoreErrorItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounsuccessful(List<EnableFastSnapshotRestoreErrorItem>).- Parameters:
unsuccessful- a consumer that will call methods onEnableFastSnapshotRestoreErrorItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-