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
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone.The 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 Details
-
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
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:
-