#[non_exhaustive]pub struct CreateLicenseInput {
pub license_name: Option<String>,
pub product_name: Option<String>,
pub product_sku: Option<String>,
pub issuer: Option<Issuer>,
pub home_region: Option<String>,
pub validity: Option<DatetimeRange>,
pub entitlements: Option<Vec<Entitlement>>,
pub beneficiary: Option<String>,
pub consumption_configuration: Option<ConsumptionConfiguration>,
pub license_metadata: Option<Vec<Metadata>>,
pub client_token: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.license_name: Option<String>License name.
product_name: Option<String>Product name.
product_sku: Option<String>Product SKU.
issuer: Option<Issuer>License issuer.
home_region: Option<String>Home Region for the license.
validity: Option<DatetimeRange>Date and time range during which the license is valid, in ISO8601-UTC format.
entitlements: Option<Vec<Entitlement>>License entitlements.
beneficiary: Option<String>License beneficiary.
consumption_configuration: Option<ConsumptionConfiguration>Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
license_metadata: Option<Vec<Metadata>>Information about the license.
client_token: Option<String>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Implementations§
source§impl CreateLicenseInput
impl CreateLicenseInput
sourcepub fn license_name(&self) -> Option<&str>
pub fn license_name(&self) -> Option<&str>
License name.
sourcepub fn product_name(&self) -> Option<&str>
pub fn product_name(&self) -> Option<&str>
Product name.
sourcepub fn product_sku(&self) -> Option<&str>
pub fn product_sku(&self) -> Option<&str>
Product SKU.
sourcepub fn home_region(&self) -> Option<&str>
pub fn home_region(&self) -> Option<&str>
Home Region for the license.
sourcepub fn validity(&self) -> Option<&DatetimeRange>
pub fn validity(&self) -> Option<&DatetimeRange>
Date and time range during which the license is valid, in ISO8601-UTC format.
sourcepub fn entitlements(&self) -> Option<&[Entitlement]>
pub fn entitlements(&self) -> Option<&[Entitlement]>
License entitlements.
sourcepub fn beneficiary(&self) -> Option<&str>
pub fn beneficiary(&self) -> Option<&str>
License beneficiary.
sourcepub fn consumption_configuration(&self) -> Option<&ConsumptionConfiguration>
pub fn consumption_configuration(&self) -> Option<&ConsumptionConfiguration>
Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
sourcepub fn license_metadata(&self) -> Option<&[Metadata]>
pub fn license_metadata(&self) -> Option<&[Metadata]>
Information about the license.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
source§impl CreateLicenseInput
impl CreateLicenseInput
sourcepub fn builder() -> CreateLicenseInputBuilder
pub fn builder() -> CreateLicenseInputBuilder
Creates a new builder-style object to manufacture CreateLicenseInput.
Trait Implementations§
source§impl Clone for CreateLicenseInput
impl Clone for CreateLicenseInput
source§fn clone(&self) -> CreateLicenseInput
fn clone(&self) -> CreateLicenseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateLicenseInput
impl Debug for CreateLicenseInput
source§impl PartialEq<CreateLicenseInput> for CreateLicenseInput
impl PartialEq<CreateLicenseInput> for CreateLicenseInput
source§fn eq(&self, other: &CreateLicenseInput) -> bool
fn eq(&self, other: &CreateLicenseInput) -> bool
self and other values to be equal, and is used
by ==.