Struct aws_sdk_ssoadmin::operation::create_application::builders::CreateApplicationInputBuilder
source · #[non_exhaustive]pub struct CreateApplicationInputBuilder { /* private fields */ }
Expand description
A builder for CreateApplicationInput
.
Implementations§
source§impl CreateApplicationInputBuilder
impl CreateApplicationInputBuilder
sourcepub fn instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
This field is required.sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn get_instance_arn(&self) -> &Option<String>
pub fn get_instance_arn(&self) -> &Option<String>
The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn application_provider_arn(self, input: impl Into<String>) -> Self
pub fn application_provider_arn(self, input: impl Into<String>) -> Self
The ARN of the application provider under which the operation will run.
This field is required.sourcepub fn set_application_provider_arn(self, input: Option<String>) -> Self
pub fn set_application_provider_arn(self, input: Option<String>) -> Self
The ARN of the application provider under which the operation will run.
sourcepub fn get_application_provider_arn(&self) -> &Option<String>
pub fn get_application_provider_arn(&self) -> &Option<String>
The ARN of the application provider under which the operation will run.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the .
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the .
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the .
sourcepub fn portal_options(self, input: PortalOptions) -> Self
pub fn portal_options(self, input: PortalOptions) -> Self
A structure that describes the options for the portal associated with an application.
sourcepub fn set_portal_options(self, input: Option<PortalOptions>) -> Self
pub fn set_portal_options(self, input: Option<PortalOptions>) -> Self
A structure that describes the options for the portal associated with an application.
sourcepub fn get_portal_options(&self) -> &Option<PortalOptions>
pub fn get_portal_options(&self) -> &Option<PortalOptions>
A structure that describes the options for the portal associated with an application.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Specifies tags to be attached to the application.
Specifies tags to be attached to the application.
Specifies tags to be attached to the application.
sourcepub fn status(self, input: ApplicationStatus) -> Self
pub fn status(self, input: ApplicationStatus) -> Self
Specifies whether the application is enabled or disabled.
sourcepub fn set_status(self, input: Option<ApplicationStatus>) -> Self
pub fn set_status(self, input: Option<ApplicationStatus>) -> Self
Specifies whether the application is enabled or disabled.
sourcepub fn get_status(&self) -> &Option<ApplicationStatus>
pub fn get_status(&self) -> &Option<ApplicationStatus>
Specifies whether the application is enabled or disabled.
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 ID 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 ID 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 ID 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<CreateApplicationInput, BuildError>
pub fn build(self) -> Result<CreateApplicationInput, BuildError>
Consumes the builder and constructs a CreateApplicationInput
.
source§impl CreateApplicationInputBuilder
impl CreateApplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateApplicationInputBuilder
impl Clone for CreateApplicationInputBuilder
source§fn clone(&self) -> CreateApplicationInputBuilder
fn clone(&self) -> CreateApplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateApplicationInputBuilder
impl Default for CreateApplicationInputBuilder
source§fn default() -> CreateApplicationInputBuilder
fn default() -> CreateApplicationInputBuilder
source§impl PartialEq for CreateApplicationInputBuilder
impl PartialEq for CreateApplicationInputBuilder
source§fn eq(&self, other: &CreateApplicationInputBuilder) -> bool
fn eq(&self, other: &CreateApplicationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.