Struct aws_sdk_ec2::operation::disable_fast_snapshot_restores::builders::DisableFastSnapshotRestoresInputBuilder
source · #[non_exhaustive]pub struct DisableFastSnapshotRestoresInputBuilder { /* private fields */ }Expand description
A builder for DisableFastSnapshotRestoresInput.
Implementations§
source§impl DisableFastSnapshotRestoresInputBuilder
impl DisableFastSnapshotRestoresInputBuilder
sourcepub fn availability_zones(self, input: impl Into<String>) -> Self
pub fn availability_zones(self, input: impl Into<String>) -> Self
Appends an item to availability_zones.
To override the contents of this collection use set_availability_zones.
One or more Availability Zones. For example, us-east-2a.
sourcepub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self
pub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self
One or more Availability Zones. For example, us-east-2a.
sourcepub fn get_availability_zones(&self) -> &Option<Vec<String>>
pub fn get_availability_zones(&self) -> &Option<Vec<String>>
One or more Availability Zones. For example, us-east-2a.
sourcepub fn source_snapshot_ids(self, input: impl Into<String>) -> Self
pub fn source_snapshot_ids(self, input: impl Into<String>) -> Self
Appends an item to source_snapshot_ids.
To override the contents of this collection use set_source_snapshot_ids.
The IDs of one or more snapshots. For example, snap-1234567890abcdef0.
sourcepub fn set_source_snapshot_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_source_snapshot_ids(self, input: Option<Vec<String>>) -> Self
The IDs of one or more snapshots. For example, snap-1234567890abcdef0.
sourcepub fn get_source_snapshot_ids(&self) -> &Option<Vec<String>>
pub fn get_source_snapshot_ids(&self) -> &Option<Vec<String>>
The IDs of one or more snapshots. For example, snap-1234567890abcdef0.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn build(self) -> Result<DisableFastSnapshotRestoresInput, BuildError>
pub fn build(self) -> Result<DisableFastSnapshotRestoresInput, BuildError>
Consumes the builder and constructs a DisableFastSnapshotRestoresInput.
source§impl DisableFastSnapshotRestoresInputBuilder
impl DisableFastSnapshotRestoresInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisableFastSnapshotRestoresOutput, SdkError<DisableFastSnapshotRestoresError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisableFastSnapshotRestoresOutput, SdkError<DisableFastSnapshotRestoresError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DisableFastSnapshotRestoresInputBuilder
impl Clone for DisableFastSnapshotRestoresInputBuilder
source§fn clone(&self) -> DisableFastSnapshotRestoresInputBuilder
fn clone(&self) -> DisableFastSnapshotRestoresInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DisableFastSnapshotRestoresInputBuilder
impl Default for DisableFastSnapshotRestoresInputBuilder
source§fn default() -> DisableFastSnapshotRestoresInputBuilder
fn default() -> DisableFastSnapshotRestoresInputBuilder
source§impl PartialEq<DisableFastSnapshotRestoresInputBuilder> for DisableFastSnapshotRestoresInputBuilder
impl PartialEq<DisableFastSnapshotRestoresInputBuilder> for DisableFastSnapshotRestoresInputBuilder
source§fn eq(&self, other: &DisableFastSnapshotRestoresInputBuilder) -> bool
fn eq(&self, other: &DisableFastSnapshotRestoresInputBuilder) -> bool
self and other values to be equal, and is used
by ==.