Struct aws_sdk_storagegateway::operation::create_storedi_scsi_volume::builders::CreateStorediScsiVolumeOutputBuilder
source · #[non_exhaustive]pub struct CreateStorediScsiVolumeOutputBuilder { /* private fields */ }
Expand description
A builder for CreateStorediScsiVolumeOutput
.
Implementations§
source§impl CreateStorediScsiVolumeOutputBuilder
impl CreateStorediScsiVolumeOutputBuilder
sourcepub fn volume_arn(self, input: impl Into<String>) -> Self
pub fn volume_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the configured volume.
sourcepub fn set_volume_arn(self, input: Option<String>) -> Self
pub fn set_volume_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the configured volume.
sourcepub fn get_volume_arn(&self) -> &Option<String>
pub fn get_volume_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the configured volume.
sourcepub fn volume_size_in_bytes(self, input: i64) -> Self
pub fn volume_size_in_bytes(self, input: i64) -> Self
The size of the volume in bytes.
sourcepub fn set_volume_size_in_bytes(self, input: Option<i64>) -> Self
pub fn set_volume_size_in_bytes(self, input: Option<i64>) -> Self
The size of the volume in bytes.
sourcepub fn get_volume_size_in_bytes(&self) -> &Option<i64>
pub fn get_volume_size_in_bytes(&self) -> &Option<i64>
The size of the volume in bytes.
sourcepub fn target_arn(self, input: impl Into<String>) -> Self
pub fn target_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name that initiators can use to connect to the target.
sourcepub fn set_target_arn(self, input: Option<String>) -> Self
pub fn set_target_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name that initiators can use to connect to the target.
sourcepub fn get_target_arn(&self) -> &Option<String>
pub fn get_target_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name that initiators can use to connect to the target.
sourcepub fn build(self) -> CreateStorediScsiVolumeOutput
pub fn build(self) -> CreateStorediScsiVolumeOutput
Consumes the builder and constructs a CreateStorediScsiVolumeOutput
.
Trait Implementations§
source§impl Clone for CreateStorediScsiVolumeOutputBuilder
impl Clone for CreateStorediScsiVolumeOutputBuilder
source§fn clone(&self) -> CreateStorediScsiVolumeOutputBuilder
fn clone(&self) -> CreateStorediScsiVolumeOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateStorediScsiVolumeOutputBuilder
impl Default for CreateStorediScsiVolumeOutputBuilder
source§fn default() -> CreateStorediScsiVolumeOutputBuilder
fn default() -> CreateStorediScsiVolumeOutputBuilder
source§impl PartialEq for CreateStorediScsiVolumeOutputBuilder
impl PartialEq for CreateStorediScsiVolumeOutputBuilder
source§fn eq(&self, other: &CreateStorediScsiVolumeOutputBuilder) -> bool
fn eq(&self, other: &CreateStorediScsiVolumeOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateStorediScsiVolumeOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateStorediScsiVolumeOutputBuilder
impl RefUnwindSafe for CreateStorediScsiVolumeOutputBuilder
impl Send for CreateStorediScsiVolumeOutputBuilder
impl Sync for CreateStorediScsiVolumeOutputBuilder
impl Unpin for CreateStorediScsiVolumeOutputBuilder
impl UnwindSafe for CreateStorediScsiVolumeOutputBuilder
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
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>
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>
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 more