Struct aws_sdk_storagegateway::operation::delete_chap_credentials::builders::DeleteChapCredentialsInputBuilder
source · #[non_exhaustive]pub struct DeleteChapCredentialsInputBuilder { /* private fields */ }Expand description
A builder for DeleteChapCredentialsInput.
Implementations§
source§impl DeleteChapCredentialsInputBuilder
impl DeleteChapCredentialsInputBuilder
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 iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.
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 iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.
sourcepub fn get_target_arn(&self) -> &Option<String>
pub fn get_target_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.
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.
This field is required.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 build(self) -> Result<DeleteChapCredentialsInput, BuildError>
pub fn build(self) -> Result<DeleteChapCredentialsInput, BuildError>
Consumes the builder and constructs a DeleteChapCredentialsInput.
source§impl DeleteChapCredentialsInputBuilder
impl DeleteChapCredentialsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteChapCredentialsOutput, SdkError<DeleteChapCredentialsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteChapCredentialsOutput, SdkError<DeleteChapCredentialsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteChapCredentialsInputBuilder
impl Clone for DeleteChapCredentialsInputBuilder
source§fn clone(&self) -> DeleteChapCredentialsInputBuilder
fn clone(&self) -> DeleteChapCredentialsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeleteChapCredentialsInputBuilder
impl Default for DeleteChapCredentialsInputBuilder
source§fn default() -> DeleteChapCredentialsInputBuilder
fn default() -> DeleteChapCredentialsInputBuilder
source§impl PartialEq for DeleteChapCredentialsInputBuilder
impl PartialEq for DeleteChapCredentialsInputBuilder
source§fn eq(&self, other: &DeleteChapCredentialsInputBuilder) -> bool
fn eq(&self, other: &DeleteChapCredentialsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteChapCredentialsInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteChapCredentialsInputBuilder
impl RefUnwindSafe for DeleteChapCredentialsInputBuilder
impl Send for DeleteChapCredentialsInputBuilder
impl Sync for DeleteChapCredentialsInputBuilder
impl Unpin for DeleteChapCredentialsInputBuilder
impl UnwindSafe for DeleteChapCredentialsInputBuilder
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