Struct aws_sdk_auditmanager::operation::start_assessment_framework_share::builders::StartAssessmentFrameworkShareInputBuilder
source · #[non_exhaustive]pub struct StartAssessmentFrameworkShareInputBuilder { /* private fields */ }
Expand description
A builder for StartAssessmentFrameworkShareInput
.
Implementations§
sourcepub fn framework_id(self, input: impl Into<String>) -> Self
pub fn framework_id(self, input: impl Into<String>) -> Self
The unique identifier for the custom framework to be shared.
This field is required.sourcepub fn set_framework_id(self, input: Option<String>) -> Self
pub fn set_framework_id(self, input: Option<String>) -> Self
The unique identifier for the custom framework to be shared.
sourcepub fn get_framework_id(&self) -> &Option<String>
pub fn get_framework_id(&self) -> &Option<String>
The unique identifier for the custom framework to be shared.
sourcepub fn destination_account(self, input: impl Into<String>) -> Self
pub fn destination_account(self, input: impl Into<String>) -> Self
The Amazon Web Services account of the recipient.
This field is required.sourcepub fn set_destination_account(self, input: Option<String>) -> Self
pub fn set_destination_account(self, input: Option<String>) -> Self
The Amazon Web Services account of the recipient.
sourcepub fn get_destination_account(&self) -> &Option<String>
pub fn get_destination_account(&self) -> &Option<String>
The Amazon Web Services account of the recipient.
sourcepub fn destination_region(self, input: impl Into<String>) -> Self
pub fn destination_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region of the recipient.
This field is required.sourcepub fn set_destination_region(self, input: Option<String>) -> Self
pub fn set_destination_region(self, input: Option<String>) -> Self
The Amazon Web Services Region of the recipient.
sourcepub fn get_destination_region(&self) -> &Option<String>
pub fn get_destination_region(&self) -> &Option<String>
The Amazon Web Services Region of the recipient.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
An optional comment from the sender about the share request.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
An optional comment from the sender about the share request.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
An optional comment from the sender about the share request.
sourcepub fn build(self) -> Result<StartAssessmentFrameworkShareInput, BuildError>
pub fn build(self) -> Result<StartAssessmentFrameworkShareInput, BuildError>
Consumes the builder and constructs a StartAssessmentFrameworkShareInput
.
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartAssessmentFrameworkShareOutput, SdkError<StartAssessmentFrameworkShareError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartAssessmentFrameworkShareOutput, SdkError<StartAssessmentFrameworkShareError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§fn clone(&self) -> StartAssessmentFrameworkShareInputBuilder
fn clone(&self) -> StartAssessmentFrameworkShareInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn default() -> StartAssessmentFrameworkShareInputBuilder
fn default() -> StartAssessmentFrameworkShareInputBuilder
source§fn eq(&self, other: &StartAssessmentFrameworkShareInputBuilder) -> bool
fn eq(&self, other: &StartAssessmentFrameworkShareInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.