Interface EnableFastSnapshotRestoreErrorItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EnableFastSnapshotRestoreErrorItem.Builder,
,EnableFastSnapshotRestoreErrorItem> SdkBuilder<EnableFastSnapshotRestoreErrorItem.Builder,
,EnableFastSnapshotRestoreErrorItem> SdkPojo
- Enclosing class:
EnableFastSnapshotRestoreErrorItem
@Mutable
@NotThreadSafe
public static interface EnableFastSnapshotRestoreErrorItem.Builder
extends SdkPojo, CopyableBuilder<EnableFastSnapshotRestoreErrorItem.Builder,EnableFastSnapshotRestoreErrorItem>
-
Method Summary
Modifier and TypeMethodDescriptionfastSnapshotRestoreStateErrors
(Collection<EnableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors) The errors.fastSnapshotRestoreStateErrors
(Consumer<EnableFastSnapshotRestoreStateErrorItem.Builder>... fastSnapshotRestoreStateErrors) The errors.fastSnapshotRestoreStateErrors
(EnableFastSnapshotRestoreStateErrorItem... fastSnapshotRestoreStateErrors) The errors.snapshotId
(String snapshotId) The ID of the snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
snapshotId
The ID of the snapshot.
- Parameters:
snapshotId
- The ID of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fastSnapshotRestoreStateErrors
EnableFastSnapshotRestoreErrorItem.Builder fastSnapshotRestoreStateErrors(Collection<EnableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors) The errors.
- Parameters:
fastSnapshotRestoreStateErrors
- The errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fastSnapshotRestoreStateErrors
EnableFastSnapshotRestoreErrorItem.Builder fastSnapshotRestoreStateErrors(EnableFastSnapshotRestoreStateErrorItem... fastSnapshotRestoreStateErrors) The errors.
- Parameters:
fastSnapshotRestoreStateErrors
- The errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fastSnapshotRestoreStateErrors
EnableFastSnapshotRestoreErrorItem.Builder fastSnapshotRestoreStateErrors(Consumer<EnableFastSnapshotRestoreStateErrorItem.Builder>... fastSnapshotRestoreStateErrors) The errors.
This is a convenience method that creates an instance of theEnableFastSnapshotRestoreStateErrorItem.Builder
avoiding the need to create one manually viaEnableFastSnapshotRestoreStateErrorItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofastSnapshotRestoreStateErrors(List<EnableFastSnapshotRestoreStateErrorItem>)
.- Parameters:
fastSnapshotRestoreStateErrors
- a consumer that will call methods onEnableFastSnapshotRestoreStateErrorItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-