Struct aws_sdk_appfabric::operation::create_app_bundle::builders::CreateAppBundleInputBuilder
source · #[non_exhaustive]pub struct CreateAppBundleInputBuilder { /* private fields */ }
Expand description
A builder for CreateAppBundleInput
.
Implementations§
source§impl CreateAppBundleInputBuilder
impl CreateAppBundleInputBuilder
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 customer_managed_key_identifier(self, input: impl Into<String>) -> Self
pub fn customer_managed_key_identifier(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use to encrypt the application data. If this is not specified, an Amazon Web Services owned key is used for encryption.
sourcepub fn set_customer_managed_key_identifier(self, input: Option<String>) -> Self
pub fn set_customer_managed_key_identifier(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use to encrypt the application data. If this is not specified, an Amazon Web Services owned key is used for encryption.
sourcepub fn get_customer_managed_key_identifier(&self) -> &Option<String>
pub fn get_customer_managed_key_identifier(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use to encrypt the application data. If this is not specified, an Amazon Web Services owned key is used for encryption.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A map of the key-value pairs of the tag or tags to assign to the resource.
A map of the key-value pairs of the tag or tags to assign to the resource.
A map of the key-value pairs of the tag or tags to assign to the resource.
sourcepub fn build(self) -> Result<CreateAppBundleInput, BuildError>
pub fn build(self) -> Result<CreateAppBundleInput, BuildError>
Consumes the builder and constructs a CreateAppBundleInput
.
source§impl CreateAppBundleInputBuilder
impl CreateAppBundleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAppBundleOutput, SdkError<CreateAppBundleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAppBundleOutput, SdkError<CreateAppBundleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAppBundleInputBuilder
impl Clone for CreateAppBundleInputBuilder
source§fn clone(&self) -> CreateAppBundleInputBuilder
fn clone(&self) -> CreateAppBundleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAppBundleInputBuilder
impl Debug for CreateAppBundleInputBuilder
source§impl Default for CreateAppBundleInputBuilder
impl Default for CreateAppBundleInputBuilder
source§fn default() -> CreateAppBundleInputBuilder
fn default() -> CreateAppBundleInputBuilder
source§impl PartialEq<CreateAppBundleInputBuilder> for CreateAppBundleInputBuilder
impl PartialEq<CreateAppBundleInputBuilder> for CreateAppBundleInputBuilder
source§fn eq(&self, other: &CreateAppBundleInputBuilder) -> bool
fn eq(&self, other: &CreateAppBundleInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.