pub struct CreateVolumeRequestBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> CreateVolumeRequestBuilder<S>
impl<S: State> CreateVolumeRequestBuilder<S>
Sourcepub fn build(self) -> CreateVolumeRequestwhere
S: IsComplete,
pub fn build(self) -> CreateVolumeRequestwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn availability_zone(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetAvailabilityZone<S>>where
S::AvailabilityZone: IsUnset,
pub fn availability_zone(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetAvailabilityZone<S>>where
S::AvailabilityZone: IsUnset,
Required.
The availability zone.
Sourcepub fn client_token(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetClientToken<S>>where
S::ClientToken: IsUnset,
pub fn client_token(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetClientToken<S>>where
S::ClientToken: IsUnset,
Sourcepub fn maybe_client_token(
self,
value: Option<String>,
) -> CreateVolumeRequestBuilder<SetClientToken<S>>where
S::ClientToken: IsUnset,
pub fn maybe_client_token(
self,
value: Option<String>,
) -> CreateVolumeRequestBuilder<SetClientToken<S>>where
S::ClientToken: IsUnset,
Sourcepub fn size(self, value: i32) -> CreateVolumeRequestBuilder<SetSize<S>>where
S::Size: IsUnset,
pub fn size(self, value: i32) -> CreateVolumeRequestBuilder<SetSize<S>>where
S::Size: IsUnset,
Sourcepub fn maybe_size(
self,
value: Option<i32>,
) -> CreateVolumeRequestBuilder<SetSize<S>>where
S::Size: IsUnset,
pub fn maybe_size(
self,
value: Option<i32>,
) -> CreateVolumeRequestBuilder<SetSize<S>>where
S::Size: IsUnset,
Sourcepub fn snapshot_id(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetSnapshotId<S>>where
S::SnapshotId: IsUnset,
pub fn snapshot_id(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetSnapshotId<S>>where
S::SnapshotId: IsUnset,
Sourcepub fn maybe_snapshot_id(
self,
value: Option<String>,
) -> CreateVolumeRequestBuilder<SetSnapshotId<S>>where
S::SnapshotId: IsUnset,
pub fn maybe_snapshot_id(
self,
value: Option<String>,
) -> CreateVolumeRequestBuilder<SetSnapshotId<S>>where
S::SnapshotId: IsUnset,
Sourcepub fn volume_type(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetVolumeType<S>>where
S::VolumeType: IsUnset,
pub fn volume_type(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetVolumeType<S>>where
S::VolumeType: IsUnset,
Sourcepub fn maybe_volume_type(
self,
value: Option<String>,
) -> CreateVolumeRequestBuilder<SetVolumeType<S>>where
S::VolumeType: IsUnset,
pub fn maybe_volume_type(
self,
value: Option<String>,
) -> CreateVolumeRequestBuilder<SetVolumeType<S>>where
S::VolumeType: IsUnset,
Sourcepub fn iops(self, value: i32) -> CreateVolumeRequestBuilder<SetIops<S>>where
S::Iops: IsUnset,
pub fn iops(self, value: i32) -> CreateVolumeRequestBuilder<SetIops<S>>where
S::Iops: IsUnset,
Sourcepub fn maybe_iops(
self,
value: Option<i32>,
) -> CreateVolumeRequestBuilder<SetIops<S>>where
S::Iops: IsUnset,
pub fn maybe_iops(
self,
value: Option<i32>,
) -> CreateVolumeRequestBuilder<SetIops<S>>where
S::Iops: IsUnset,
Sourcepub fn throughput(
self,
value: i32,
) -> CreateVolumeRequestBuilder<SetThroughput<S>>where
S::Throughput: IsUnset,
pub fn throughput(
self,
value: i32,
) -> CreateVolumeRequestBuilder<SetThroughput<S>>where
S::Throughput: IsUnset,
Sourcepub fn maybe_throughput(
self,
value: Option<i32>,
) -> CreateVolumeRequestBuilder<SetThroughput<S>>where
S::Throughput: IsUnset,
pub fn maybe_throughput(
self,
value: Option<i32>,
) -> CreateVolumeRequestBuilder<SetThroughput<S>>where
S::Throughput: IsUnset,
Sourcepub fn encrypted(
self,
value: bool,
) -> CreateVolumeRequestBuilder<SetEncrypted<S>>where
S::Encrypted: IsUnset,
pub fn encrypted(
self,
value: bool,
) -> CreateVolumeRequestBuilder<SetEncrypted<S>>where
S::Encrypted: IsUnset,
Sourcepub fn maybe_encrypted(
self,
value: Option<bool>,
) -> CreateVolumeRequestBuilder<SetEncrypted<S>>where
S::Encrypted: IsUnset,
pub fn maybe_encrypted(
self,
value: Option<bool>,
) -> CreateVolumeRequestBuilder<SetEncrypted<S>>where
S::Encrypted: IsUnset,
Sourcepub fn kms_key_id(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
pub fn kms_key_id(
self,
value: String,
) -> CreateVolumeRequestBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
Sourcepub fn maybe_kms_key_id(
self,
value: Option<String>,
) -> CreateVolumeRequestBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
pub fn maybe_kms_key_id(
self,
value: Option<String>,
) -> CreateVolumeRequestBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
Sourcepub fn tag_specifications(
self,
value: Vec<TagSpecification>,
) -> CreateVolumeRequestBuilder<SetTagSpecifications<S>>where
S::TagSpecifications: IsUnset,
pub fn tag_specifications(
self,
value: Vec<TagSpecification>,
) -> CreateVolumeRequestBuilder<SetTagSpecifications<S>>where
S::TagSpecifications: IsUnset,
Sourcepub fn maybe_tag_specifications(
self,
value: Option<Vec<TagSpecification>>,
) -> CreateVolumeRequestBuilder<SetTagSpecifications<S>>where
S::TagSpecifications: IsUnset,
pub fn maybe_tag_specifications(
self,
value: Option<Vec<TagSpecification>>,
) -> CreateVolumeRequestBuilder<SetTagSpecifications<S>>where
S::TagSpecifications: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for CreateVolumeRequestBuilder<S>
impl<S> RefUnwindSafe for CreateVolumeRequestBuilder<S>
impl<S> Send for CreateVolumeRequestBuilder<S>
impl<S> Sync for CreateVolumeRequestBuilder<S>
impl<S> Unpin for CreateVolumeRequestBuilder<S>
impl<S> UnsafeUnpin for CreateVolumeRequestBuilder<S>
impl<S> UnwindSafe for CreateVolumeRequestBuilder<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.