public static interface EnableFastSnapshotRestoreStateErrorItem.Builder extends SdkPojo, CopyableBuilder<EnableFastSnapshotRestoreStateErrorItem.Builder,EnableFastSnapshotRestoreStateErrorItem>
Modifier and Type | Method and Description |
---|---|
EnableFastSnapshotRestoreStateErrorItem.Builder |
availabilityZone(String availabilityZone)
The Availability Zone.
|
default EnableFastSnapshotRestoreStateErrorItem.Builder |
error(Consumer<EnableFastSnapshotRestoreStateError.Builder> error)
The error.
|
EnableFastSnapshotRestoreStateErrorItem.Builder |
error(EnableFastSnapshotRestoreStateError error)
The error.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
EnableFastSnapshotRestoreStateErrorItem.Builder availabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.EnableFastSnapshotRestoreStateErrorItem.Builder error(EnableFastSnapshotRestoreStateError error)
The error.
error
- The error.default EnableFastSnapshotRestoreStateErrorItem.Builder error(Consumer<EnableFastSnapshotRestoreStateError.Builder> error)
The error.
This is a convenience that creates an instance of theEnableFastSnapshotRestoreStateError.Builder
avoiding the need to create one manually via EnableFastSnapshotRestoreStateError.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to error(EnableFastSnapshotRestoreStateError)
.error
- a consumer that will call methods on EnableFastSnapshotRestoreStateError.Builder
error(EnableFastSnapshotRestoreStateError)
Copyright © 2020. All rights reserved.