Struct aws_sdk_licensemanager::operation::create_license_version::builders::CreateLicenseVersionFluentBuilder
source · pub struct CreateLicenseVersionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateLicenseVersion.
Creates a new version of the specified license.
Implementations§
source§impl CreateLicenseVersionFluentBuilder
impl CreateLicenseVersionFluentBuilder
sourcepub fn as_input(&self) -> &CreateLicenseVersionInputBuilder
pub fn as_input(&self) -> &CreateLicenseVersionInputBuilder
Access the CreateLicenseVersion as a reference.
sourcepub async fn send(
self
) -> Result<CreateLicenseVersionOutput, SdkError<CreateLicenseVersionError, HttpResponse>>
pub async fn send( self ) -> Result<CreateLicenseVersionOutput, SdkError<CreateLicenseVersionError, 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<CreateLicenseVersionOutput, CreateLicenseVersionError>, SdkError<CreateLicenseVersionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateLicenseVersionOutput, CreateLicenseVersionError>, SdkError<CreateLicenseVersionError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 LicenseMetadata.
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.
Trait Implementations§
source§impl Clone for CreateLicenseVersionFluentBuilder
impl Clone for CreateLicenseVersionFluentBuilder
source§fn clone(&self) -> CreateLicenseVersionFluentBuilder
fn clone(&self) -> CreateLicenseVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more