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