Interface EnableFastSnapshotRestoresResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<EnableFastSnapshotRestoresResponse.Builder,EnableFastSnapshotRestoresResponse>
,Ec2Response.Builder
,SdkBuilder<EnableFastSnapshotRestoresResponse.Builder,EnableFastSnapshotRestoresResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- EnableFastSnapshotRestoresResponse
public static interface EnableFastSnapshotRestoresResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<EnableFastSnapshotRestoresResponse.Builder,EnableFastSnapshotRestoresResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnableFastSnapshotRestoresResponse.Builder
successful(Collection<EnableFastSnapshotRestoreSuccessItem> successful)
Information about the snapshots for which fast snapshot restores were successfully enabled.EnableFastSnapshotRestoresResponse.Builder
successful(Consumer<EnableFastSnapshotRestoreSuccessItem.Builder>... successful)
Information about the snapshots for which fast snapshot restores were successfully enabled.EnableFastSnapshotRestoresResponse.Builder
successful(EnableFastSnapshotRestoreSuccessItem... successful)
Information about the snapshots for which fast snapshot restores were successfully enabled.EnableFastSnapshotRestoresResponse.Builder
unsuccessful(Collection<EnableFastSnapshotRestoreErrorItem> unsuccessful)
Information about the snapshots for which fast snapshot restores could not be enabled.EnableFastSnapshotRestoresResponse.Builder
unsuccessful(Consumer<EnableFastSnapshotRestoreErrorItem.Builder>... unsuccessful)
Information about the snapshots for which fast snapshot restores could not be enabled.EnableFastSnapshotRestoresResponse.Builder
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
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
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.Builder
avoiding the need to create one manually viaEnableFastSnapshotRestoreSuccessItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#successful(List
.) - 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:
#successful(java.util.Collection
)
-
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.Builder
avoiding the need to create one manually viaEnableFastSnapshotRestoreErrorItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#unsuccessful(List
.) - 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:
#unsuccessful(java.util.Collection
)
-
-