Interface EnableFastSnapshotRestoreErrorItem.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<EnableFastSnapshotRestoreErrorItem.Builder,EnableFastSnapshotRestoreErrorItem>
,SdkBuilder<EnableFastSnapshotRestoreErrorItem.Builder,EnableFastSnapshotRestoreErrorItem>
,SdkPojo
- Enclosing class:
- EnableFastSnapshotRestoreErrorItem
public static interface EnableFastSnapshotRestoreErrorItem.Builder extends SdkPojo, CopyableBuilder<EnableFastSnapshotRestoreErrorItem.Builder,EnableFastSnapshotRestoreErrorItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnableFastSnapshotRestoreErrorItem.Builder
fastSnapshotRestoreStateErrors(Collection<EnableFastSnapshotRestoreStateErrorItem> fastSnapshotRestoreStateErrors)
The errors.EnableFastSnapshotRestoreErrorItem.Builder
fastSnapshotRestoreStateErrors(Consumer<EnableFastSnapshotRestoreStateErrorItem.Builder>... fastSnapshotRestoreStateErrors)
The errors.EnableFastSnapshotRestoreErrorItem.Builder
fastSnapshotRestoreStateErrors(EnableFastSnapshotRestoreStateErrorItem... fastSnapshotRestoreStateErrors)
The errors.EnableFastSnapshotRestoreErrorItem.Builder
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, sdkFields
-
-
-
-
Method Detail
-
snapshotId
EnableFastSnapshotRestoreErrorItem.Builder snapshotId(String 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 to#fastSnapshotRestoreStateErrors(List
.) - 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:
#fastSnapshotRestoreStateErrors(java.util.Collection
)
-
-