Struct aws_sdk_licensemanager::operation::create_license_version::builders::CreateLicenseVersionInputBuilder
source · #[non_exhaustive]pub struct CreateLicenseVersionInputBuilder { /* private fields */ }Expand description
A builder for CreateLicenseVersionInput.
Implementations§
source§impl CreateLicenseVersionInputBuilder
impl CreateLicenseVersionInputBuilder
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 set_issuer(self, input: Option<Issuer>) -> Self
pub fn set_issuer(self, input: Option<Issuer>) -> Self
License issuer.
sourcepub fn get_issuer(&self) -> &Option<Issuer>
pub fn get_issuer(&self) -> &Option<Issuer>
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 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 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.
Information about the license.
sourcepub fn set_license_metadata(self, input: Option<Vec<Metadata>>) -> Self
pub fn set_license_metadata(self, input: Option<Vec<Metadata>>) -> Self
Information about the license.
sourcepub fn get_license_metadata(&self) -> &Option<Vec<Metadata>>
pub fn get_license_metadata(&self) -> &Option<Vec<Metadata>>
Information about the license.
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. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
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. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage.
sourcepub fn get_consumption_configuration(&self) -> &Option<ConsumptionConfiguration>
pub fn get_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 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 client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn source_version(self, input: impl Into<String>) -> Self
pub fn source_version(self, input: impl Into<String>) -> Self
Current version of the license.
sourcepub fn set_source_version(self, input: Option<String>) -> Self
pub fn set_source_version(self, input: Option<String>) -> Self
Current version of the license.
sourcepub fn get_source_version(&self) -> &Option<String>
pub fn get_source_version(&self) -> &Option<String>
Current version of the license.
sourcepub fn build(self) -> Result<CreateLicenseVersionInput, BuildError>
pub fn build(self) -> Result<CreateLicenseVersionInput, BuildError>
Consumes the builder and constructs a CreateLicenseVersionInput.
source§impl CreateLicenseVersionInputBuilder
impl CreateLicenseVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLicenseVersionOutput, SdkError<CreateLicenseVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLicenseVersionOutput, SdkError<CreateLicenseVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLicenseVersionInputBuilder
impl Clone for CreateLicenseVersionInputBuilder
source§fn clone(&self) -> CreateLicenseVersionInputBuilder
fn clone(&self) -> CreateLicenseVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateLicenseVersionInputBuilder
impl Default for CreateLicenseVersionInputBuilder
source§fn default() -> CreateLicenseVersionInputBuilder
fn default() -> CreateLicenseVersionInputBuilder
source§impl PartialEq<CreateLicenseVersionInputBuilder> for CreateLicenseVersionInputBuilder
impl PartialEq<CreateLicenseVersionInputBuilder> for CreateLicenseVersionInputBuilder
source§fn eq(&self, other: &CreateLicenseVersionInputBuilder) -> bool
fn eq(&self, other: &CreateLicenseVersionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.