Struct aws_sdk_storagegateway::types::builders::ChapInfoBuilder
source · #[non_exhaustive]pub struct ChapInfoBuilder { /* private fields */ }
Expand description
A builder for ChapInfo
.
Implementations§
source§impl ChapInfoBuilder
impl ChapInfoBuilder
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.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
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.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
sourcepub fn get_target_arn(&self) -> &Option<String>
pub fn get_target_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
sourcepub fn secret_to_authenticate_initiator(self, input: impl Into<String>) -> Self
pub fn secret_to_authenticate_initiator(self, input: impl Into<String>) -> Self
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
sourcepub fn set_secret_to_authenticate_initiator(self, input: Option<String>) -> Self
pub fn set_secret_to_authenticate_initiator(self, input: Option<String>) -> Self
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
sourcepub fn get_secret_to_authenticate_initiator(&self) -> &Option<String>
pub fn get_secret_to_authenticate_initiator(&self) -> &Option<String>
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
sourcepub fn initiator_name(self, input: impl Into<String>) -> Self
pub fn initiator_name(self, input: impl Into<String>) -> Self
The iSCSI initiator that connects to the target.
sourcepub fn set_initiator_name(self, input: Option<String>) -> Self
pub fn set_initiator_name(self, input: Option<String>) -> Self
The iSCSI initiator that connects to the target.
sourcepub fn get_initiator_name(&self) -> &Option<String>
pub fn get_initiator_name(&self) -> &Option<String>
The iSCSI initiator that connects to the target.
sourcepub fn secret_to_authenticate_target(self, input: impl Into<String>) -> Self
pub fn secret_to_authenticate_target(self, input: impl Into<String>) -> Self
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client).
sourcepub fn set_secret_to_authenticate_target(self, input: Option<String>) -> Self
pub fn set_secret_to_authenticate_target(self, input: Option<String>) -> Self
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client).
sourcepub fn get_secret_to_authenticate_target(&self) -> &Option<String>
pub fn get_secret_to_authenticate_target(&self) -> &Option<String>
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client).
Trait Implementations§
source§impl Clone for ChapInfoBuilder
impl Clone for ChapInfoBuilder
source§fn clone(&self) -> ChapInfoBuilder
fn clone(&self) -> ChapInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChapInfoBuilder
impl Debug for ChapInfoBuilder
source§impl Default for ChapInfoBuilder
impl Default for ChapInfoBuilder
source§fn default() -> ChapInfoBuilder
fn default() -> ChapInfoBuilder
source§impl PartialEq for ChapInfoBuilder
impl PartialEq for ChapInfoBuilder
source§fn eq(&self, other: &ChapInfoBuilder) -> bool
fn eq(&self, other: &ChapInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChapInfoBuilder
Auto Trait Implementations§
impl Freeze for ChapInfoBuilder
impl RefUnwindSafe for ChapInfoBuilder
impl Send for ChapInfoBuilder
impl Sync for ChapInfoBuilder
impl Unpin for ChapInfoBuilder
impl UnwindSafe for ChapInfoBuilder
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