Struct aws_sdk_licensemanager::operation::update_license_configuration::builders::UpdateLicenseConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateLicenseConfigurationInputBuilder { /* private fields */ }Expand description
A builder for UpdateLicenseConfigurationInput.
Implementations§
source§impl UpdateLicenseConfigurationInputBuilder
impl UpdateLicenseConfigurationInputBuilder
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 license_rules.
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 product_information_list.
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.
sourcepub fn build(self) -> Result<UpdateLicenseConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateLicenseConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateLicenseConfigurationInput.
source§impl UpdateLicenseConfigurationInputBuilder
impl UpdateLicenseConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateLicenseConfigurationOutput, SdkError<UpdateLicenseConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateLicenseConfigurationOutput, SdkError<UpdateLicenseConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateLicenseConfigurationInputBuilder
impl Clone for UpdateLicenseConfigurationInputBuilder
source§fn clone(&self) -> UpdateLicenseConfigurationInputBuilder
fn clone(&self) -> UpdateLicenseConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateLicenseConfigurationInputBuilder
impl Default for UpdateLicenseConfigurationInputBuilder
source§fn default() -> UpdateLicenseConfigurationInputBuilder
fn default() -> UpdateLicenseConfigurationInputBuilder
source§impl PartialEq<UpdateLicenseConfigurationInputBuilder> for UpdateLicenseConfigurationInputBuilder
impl PartialEq<UpdateLicenseConfigurationInputBuilder> for UpdateLicenseConfigurationInputBuilder
source§fn eq(&self, other: &UpdateLicenseConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateLicenseConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.