Struct aws_sdk_ram::operation::update_resource_share::builders::UpdateResourceShareInputBuilder
source · #[non_exhaustive]pub struct UpdateResourceShareInputBuilder { /* private fields */ }Expand description
A builder for UpdateResourceShareInput.
Implementations§
Specifies the Amazon Resource Name (ARN) of the resource share that you want to modify.
This field is required.Specifies the Amazon Resource Name (ARN) of the resource share that you want to modify.
Specifies the Amazon Resource Name (ARN) of the resource share that you want to modify.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
If specified, the new name that you want to attach to the resource share.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
If specified, the new name that you want to attach to the resource share.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
If specified, the new name that you want to attach to the resource share.
sourcepub fn allow_external_principals(self, input: bool) -> Self
pub fn allow_external_principals(self, input: bool) -> Self
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
sourcepub fn set_allow_external_principals(self, input: Option<bool>) -> Self
pub fn set_allow_external_principals(self, input: Option<bool>) -> Self
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
sourcepub fn get_allow_external_principals(&self) -> &Option<bool>
pub fn get_allow_external_principals(&self) -> &Option<bool>
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn build(self) -> Result<UpdateResourceShareInput, BuildError>
pub fn build(self) -> Result<UpdateResourceShareInput, BuildError>
Consumes the builder and constructs a UpdateResourceShareInput.
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateResourceShareOutput, SdkError<UpdateResourceShareError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateResourceShareOutput, SdkError<UpdateResourceShareError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§fn clone(&self) -> UpdateResourceShareInputBuilder
fn clone(&self) -> UpdateResourceShareInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§fn default() -> UpdateResourceShareInputBuilder
fn default() -> UpdateResourceShareInputBuilder
source§fn eq(&self, other: &UpdateResourceShareInputBuilder) -> bool
fn eq(&self, other: &UpdateResourceShareInputBuilder) -> bool
self and other values to be equal, and is used
by ==.