Interface DisableFastSnapshotRestoreStateErrorItem.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DisableFastSnapshotRestoreStateErrorItem.Builder,DisableFastSnapshotRestoreStateErrorItem>
,SdkBuilder<DisableFastSnapshotRestoreStateErrorItem.Builder,DisableFastSnapshotRestoreStateErrorItem>
,SdkPojo
- Enclosing class:
- DisableFastSnapshotRestoreStateErrorItem
public static interface DisableFastSnapshotRestoreStateErrorItem.Builder extends SdkPojo, CopyableBuilder<DisableFastSnapshotRestoreStateErrorItem.Builder,DisableFastSnapshotRestoreStateErrorItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DisableFastSnapshotRestoreStateErrorItem.Builder
availabilityZone(String availabilityZone)
The Availability Zone.default DisableFastSnapshotRestoreStateErrorItem.Builder
error(Consumer<DisableFastSnapshotRestoreStateError.Builder> error)
The error.DisableFastSnapshotRestoreStateErrorItem.Builder
error(DisableFastSnapshotRestoreStateError error)
The error.-
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
-
availabilityZone
DisableFastSnapshotRestoreStateErrorItem.Builder availabilityZone(String availabilityZone)
The Availability Zone.
- Parameters:
availabilityZone
- The Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
DisableFastSnapshotRestoreStateErrorItem.Builder error(DisableFastSnapshotRestoreStateError error)
The error.
- Parameters:
error
- The error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default DisableFastSnapshotRestoreStateErrorItem.Builder error(Consumer<DisableFastSnapshotRestoreStateError.Builder> error)
The error.
This is a convenience method that creates an instance of theDisableFastSnapshotRestoreStateError.Builder
avoiding the need to create one manually viaDisableFastSnapshotRestoreStateError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(DisableFastSnapshotRestoreStateError)
.- Parameters:
error
- a consumer that will call methods onDisableFastSnapshotRestoreStateError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(DisableFastSnapshotRestoreStateError)
-
-