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 ==.