Struct aws_sdk_licensemanager::operation::update_license_configuration::builders::UpdateLicenseConfigurationFluentBuilder
source · pub struct UpdateLicenseConfigurationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateLicenseConfiguration.
Modifies the attributes of an existing license configuration.
Implementations§
source§impl UpdateLicenseConfigurationFluentBuilder
impl UpdateLicenseConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateLicenseConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateLicenseConfigurationInputBuilder
Access the UpdateLicenseConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateLicenseConfigurationOutput, SdkError<UpdateLicenseConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateLicenseConfigurationOutput, SdkError<UpdateLicenseConfigurationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateLicenseConfigurationOutput, UpdateLicenseConfigurationError>, SdkError<UpdateLicenseConfigurationError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateLicenseConfigurationOutput, UpdateLicenseConfigurationError>, SdkError<UpdateLicenseConfigurationError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn license_configuration_arn(self, input: impl Into<String>) -> Self
pub fn license_configuration_arn(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the license configuration.
sourcepub fn set_license_configuration_arn(self, input: Option<String>) -> Self
pub fn set_license_configuration_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the license configuration.
sourcepub fn get_license_configuration_arn(&self) -> &Option<String>
pub fn get_license_configuration_arn(&self) -> &Option<String>
Amazon Resource Name (ARN) of the license configuration.
sourcepub fn license_configuration_status(
self,
input: LicenseConfigurationStatus
) -> Self
pub fn license_configuration_status( self, input: LicenseConfigurationStatus ) -> Self
New status of the license configuration.
sourcepub fn set_license_configuration_status(
self,
input: Option<LicenseConfigurationStatus>
) -> Self
pub fn set_license_configuration_status( self, input: Option<LicenseConfigurationStatus> ) -> Self
New status of the license configuration.
sourcepub fn get_license_configuration_status(
&self
) -> &Option<LicenseConfigurationStatus>
pub fn get_license_configuration_status( &self ) -> &Option<LicenseConfigurationStatus>
New status of the license configuration.
sourcepub fn license_rules(self, input: impl Into<String>) -> Self
pub fn license_rules(self, input: impl Into<String>) -> Self
Appends an item to LicenseRules.
To override the contents of this collection use set_license_rules.
New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.
sourcepub fn set_license_rules(self, input: Option<Vec<String>>) -> Self
pub fn set_license_rules(self, input: Option<Vec<String>>) -> Self
New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.
sourcepub fn get_license_rules(&self) -> &Option<Vec<String>>
pub fn get_license_rules(&self) -> &Option<Vec<String>>
New license rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.
sourcepub fn license_count(self, input: i64) -> Self
pub fn license_count(self, input: i64) -> Self
New number of licenses managed by the license configuration.
sourcepub fn set_license_count(self, input: Option<i64>) -> Self
pub fn set_license_count(self, input: Option<i64>) -> Self
New number of licenses managed by the license configuration.
sourcepub fn get_license_count(&self) -> &Option<i64>
pub fn get_license_count(&self) -> &Option<i64>
New number of licenses managed by the license configuration.
sourcepub fn license_count_hard_limit(self, input: bool) -> Self
pub fn license_count_hard_limit(self, input: bool) -> Self
New hard limit of the number of available licenses.
sourcepub fn set_license_count_hard_limit(self, input: Option<bool>) -> Self
pub fn set_license_count_hard_limit(self, input: Option<bool>) -> Self
New hard limit of the number of available licenses.
sourcepub fn get_license_count_hard_limit(&self) -> &Option<bool>
pub fn get_license_count_hard_limit(&self) -> &Option<bool>
New hard limit of the number of available licenses.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
New description of the license configuration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
New description of the license configuration.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
New description of the license configuration.
sourcepub fn product_information_list(self, input: ProductInformation) -> Self
pub fn product_information_list(self, input: ProductInformation) -> Self
Appends an item to ProductInformationList.
To override the contents of this collection use set_product_information_list.
New product information.
sourcepub fn set_product_information_list(
self,
input: Option<Vec<ProductInformation>>
) -> Self
pub fn set_product_information_list( self, input: Option<Vec<ProductInformation>> ) -> Self
New product information.
sourcepub fn get_product_information_list(&self) -> &Option<Vec<ProductInformation>>
pub fn get_product_information_list(&self) -> &Option<Vec<ProductInformation>>
New product information.
sourcepub fn disassociate_when_not_found(self, input: bool) -> Self
pub fn disassociate_when_not_found(self, input: bool) -> Self
When true, disassociates a resource when software is uninstalled.
sourcepub fn set_disassociate_when_not_found(self, input: Option<bool>) -> Self
pub fn set_disassociate_when_not_found(self, input: Option<bool>) -> Self
When true, disassociates a resource when software is uninstalled.
sourcepub fn get_disassociate_when_not_found(&self) -> &Option<bool>
pub fn get_disassociate_when_not_found(&self) -> &Option<bool>
When true, disassociates a resource when software is uninstalled.
Trait Implementations§
source§impl Clone for UpdateLicenseConfigurationFluentBuilder
impl Clone for UpdateLicenseConfigurationFluentBuilder
source§fn clone(&self) -> UpdateLicenseConfigurationFluentBuilder
fn clone(&self) -> UpdateLicenseConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more