Struct aws_sdk_licensemanager::types::builders::LicenseBuilder
source · #[non_exhaustive]pub struct LicenseBuilder { /* private fields */ }Expand description
A builder for License.
Implementations§
source§impl LicenseBuilder
impl LicenseBuilder
sourcepub fn license_arn(self, input: impl Into<String>) -> Self
pub fn license_arn(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the license.
sourcepub fn set_license_arn(self, input: Option<String>) -> Self
pub fn set_license_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the license.
sourcepub fn get_license_arn(&self) -> &Option<String>
pub fn get_license_arn(&self) -> &Option<String>
Amazon Resource Name (ARN) of the license.
sourcepub fn license_name(self, input: impl Into<String>) -> Self
pub fn license_name(self, input: impl Into<String>) -> Self
License name.
sourcepub fn set_license_name(self, input: Option<String>) -> Self
pub fn set_license_name(self, input: Option<String>) -> Self
License name.
sourcepub fn get_license_name(&self) -> &Option<String>
pub fn get_license_name(&self) -> &Option<String>
License name.
sourcepub fn product_name(self, input: impl Into<String>) -> Self
pub fn product_name(self, input: impl Into<String>) -> Self
Product name.
sourcepub fn set_product_name(self, input: Option<String>) -> Self
pub fn set_product_name(self, input: Option<String>) -> Self
Product name.
sourcepub fn get_product_name(&self) -> &Option<String>
pub fn get_product_name(&self) -> &Option<String>
Product name.
sourcepub fn product_sku(self, input: impl Into<String>) -> Self
pub fn product_sku(self, input: impl Into<String>) -> Self
Product SKU.
sourcepub fn set_product_sku(self, input: Option<String>) -> Self
pub fn set_product_sku(self, input: Option<String>) -> Self
Product SKU.
sourcepub fn get_product_sku(&self) -> &Option<String>
pub fn get_product_sku(&self) -> &Option<String>
Product SKU.
sourcepub fn issuer(self, input: IssuerDetails) -> Self
pub fn issuer(self, input: IssuerDetails) -> Self
License issuer.
sourcepub fn set_issuer(self, input: Option<IssuerDetails>) -> Self
pub fn set_issuer(self, input: Option<IssuerDetails>) -> Self
License issuer.
sourcepub fn get_issuer(&self) -> &Option<IssuerDetails>
pub fn get_issuer(&self) -> &Option<IssuerDetails>
License issuer.
sourcepub fn home_region(self, input: impl Into<String>) -> Self
pub fn home_region(self, input: impl Into<String>) -> Self
Home Region of the license.
sourcepub fn set_home_region(self, input: Option<String>) -> Self
pub fn set_home_region(self, input: Option<String>) -> Self
Home Region of the license.
sourcepub fn get_home_region(&self) -> &Option<String>
pub fn get_home_region(&self) -> &Option<String>
Home Region of the license.
sourcepub fn status(self, input: LicenseStatus) -> Self
pub fn status(self, input: LicenseStatus) -> Self
License status.
sourcepub fn set_status(self, input: Option<LicenseStatus>) -> Self
pub fn set_status(self, input: Option<LicenseStatus>) -> Self
License status.
sourcepub fn get_status(&self) -> &Option<LicenseStatus>
pub fn get_status(&self) -> &Option<LicenseStatus>
License status.
sourcepub fn validity(self, input: DatetimeRange) -> Self
pub fn validity(self, input: DatetimeRange) -> Self
Date and time range during which the license is valid, in ISO8601-UTC format.
sourcepub fn set_validity(self, input: Option<DatetimeRange>) -> Self
pub fn set_validity(self, input: Option<DatetimeRange>) -> Self
Date and time range during which the license is valid, in ISO8601-UTC format.
sourcepub fn get_validity(&self) -> &Option<DatetimeRange>
pub fn get_validity(&self) -> &Option<DatetimeRange>
Date and time range during which the license is valid, in ISO8601-UTC format.
sourcepub fn beneficiary(self, input: impl Into<String>) -> Self
pub fn beneficiary(self, input: impl Into<String>) -> Self
License beneficiary.
sourcepub fn set_beneficiary(self, input: Option<String>) -> Self
pub fn set_beneficiary(self, input: Option<String>) -> Self
License beneficiary.
sourcepub fn get_beneficiary(&self) -> &Option<String>
pub fn get_beneficiary(&self) -> &Option<String>
License beneficiary.
sourcepub fn entitlements(self, input: Entitlement) -> Self
pub fn entitlements(self, input: Entitlement) -> Self
Appends an item to entitlements.
To override the contents of this collection use set_entitlements.
License entitlements.
sourcepub fn set_entitlements(self, input: Option<Vec<Entitlement>>) -> Self
pub fn set_entitlements(self, input: Option<Vec<Entitlement>>) -> Self
License entitlements.
sourcepub fn get_entitlements(&self) -> &Option<Vec<Entitlement>>
pub fn get_entitlements(&self) -> &Option<Vec<Entitlement>>
License entitlements.
sourcepub fn consumption_configuration(self, input: ConsumptionConfiguration) -> Self
pub fn consumption_configuration(self, input: ConsumptionConfiguration) -> Self
Configuration for consumption of the license.
sourcepub fn set_consumption_configuration(
self,
input: Option<ConsumptionConfiguration>
) -> Self
pub fn set_consumption_configuration( self, input: Option<ConsumptionConfiguration> ) -> Self
Configuration for consumption of the license.
sourcepub fn get_consumption_configuration(&self) -> &Option<ConsumptionConfiguration>
pub fn get_consumption_configuration(&self) -> &Option<ConsumptionConfiguration>
Configuration for consumption of the license.
sourcepub fn license_metadata(self, input: Metadata) -> Self
pub fn license_metadata(self, input: Metadata) -> Self
Appends an item to license_metadata.
To override the contents of this collection use set_license_metadata.
License metadata.
sourcepub fn set_license_metadata(self, input: Option<Vec<Metadata>>) -> Self
pub fn set_license_metadata(self, input: Option<Vec<Metadata>>) -> Self
License metadata.
sourcepub fn get_license_metadata(&self) -> &Option<Vec<Metadata>>
pub fn get_license_metadata(&self) -> &Option<Vec<Metadata>>
License metadata.
sourcepub fn create_time(self, input: impl Into<String>) -> Self
pub fn create_time(self, input: impl Into<String>) -> Self
License creation time.
sourcepub fn set_create_time(self, input: Option<String>) -> Self
pub fn set_create_time(self, input: Option<String>) -> Self
License creation time.
sourcepub fn get_create_time(&self) -> &Option<String>
pub fn get_create_time(&self) -> &Option<String>
License creation time.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
License version.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
License version.
Trait Implementations§
source§impl Clone for LicenseBuilder
impl Clone for LicenseBuilder
source§fn clone(&self) -> LicenseBuilder
fn clone(&self) -> LicenseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LicenseBuilder
impl Debug for LicenseBuilder
source§impl Default for LicenseBuilder
impl Default for LicenseBuilder
source§fn default() -> LicenseBuilder
fn default() -> LicenseBuilder
source§impl PartialEq<LicenseBuilder> for LicenseBuilder
impl PartialEq<LicenseBuilder> for LicenseBuilder
source§fn eq(&self, other: &LicenseBuilder) -> bool
fn eq(&self, other: &LicenseBuilder) -> bool
self and other values to be equal, and is used
by ==.