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 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 build(self) -> Result<DeleteChapCredentialsInput, BuildError>
pub fn build(self) -> Result<DeleteChapCredentialsInput, BuildError>
Consumes the builder and constructs a DeleteChapCredentialsInput.
Trait Implementations§
source§impl Clone for DeleteChapCredentialsInputBuilder
impl Clone for DeleteChapCredentialsInputBuilder
source§fn clone(&self) -> DeleteChapCredentialsInputBuilder
fn clone(&self) -> DeleteChapCredentialsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeleteChapCredentialsInputBuilder
impl Default for DeleteChapCredentialsInputBuilder
source§fn default() -> DeleteChapCredentialsInputBuilder
fn default() -> DeleteChapCredentialsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeleteChapCredentialsInputBuilder> for DeleteChapCredentialsInputBuilder
impl PartialEq<DeleteChapCredentialsInputBuilder> for DeleteChapCredentialsInputBuilder
source§fn eq(&self, other: &DeleteChapCredentialsInputBuilder) -> bool
fn eq(&self, other: &DeleteChapCredentialsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteChapCredentialsInputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more