Interface DisableFastSnapshotRestoreStateErrorItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DisableFastSnapshotRestoreStateErrorItem.Builder,,DisableFastSnapshotRestoreStateErrorItem> SdkBuilder<DisableFastSnapshotRestoreStateErrorItem.Builder,,DisableFastSnapshotRestoreStateErrorItem> SdkPojo
- Enclosing class:
DisableFastSnapshotRestoreStateErrorItem
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaDisableFastSnapshotRestoreStateError.builder().When the
Consumercompletes,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:
-