#[non_exhaustive]pub struct LicenseConversionTaskBuilder { /* private fields */ }Expand description
A builder for LicenseConversionTask.
Implementations§
source§impl LicenseConversionTaskBuilder
impl LicenseConversionTaskBuilder
sourcepub fn license_conversion_task_id(self, input: impl Into<String>) -> Self
pub fn license_conversion_task_id(self, input: impl Into<String>) -> Self
The ID of the license type conversion task.
sourcepub fn set_license_conversion_task_id(self, input: Option<String>) -> Self
pub fn set_license_conversion_task_id(self, input: Option<String>) -> Self
The ID of the license type conversion task.
sourcepub fn get_license_conversion_task_id(&self) -> &Option<String>
pub fn get_license_conversion_task_id(&self) -> &Option<String>
The ID of the license type conversion task.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource associated with the license type conversion task.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource associated with the license type conversion task.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the resource associated with the license type conversion task.
sourcepub fn source_license_context(self, input: LicenseConversionContext) -> Self
pub fn source_license_context(self, input: LicenseConversionContext) -> Self
Information about the license type this conversion task converted from.
sourcepub fn set_source_license_context(
self,
input: Option<LicenseConversionContext>
) -> Self
pub fn set_source_license_context( self, input: Option<LicenseConversionContext> ) -> Self
Information about the license type this conversion task converted from.
sourcepub fn get_source_license_context(&self) -> &Option<LicenseConversionContext>
pub fn get_source_license_context(&self) -> &Option<LicenseConversionContext>
Information about the license type this conversion task converted from.
sourcepub fn destination_license_context(
self,
input: LicenseConversionContext
) -> Self
pub fn destination_license_context( self, input: LicenseConversionContext ) -> Self
Information about the license type this conversion task converted to.
sourcepub fn set_destination_license_context(
self,
input: Option<LicenseConversionContext>
) -> Self
pub fn set_destination_license_context( self, input: Option<LicenseConversionContext> ) -> Self
Information about the license type this conversion task converted to.
sourcepub fn get_destination_license_context(
&self
) -> &Option<LicenseConversionContext>
pub fn get_destination_license_context( &self ) -> &Option<LicenseConversionContext>
Information about the license type this conversion task converted to.
sourcepub fn status(self, input: LicenseConversionTaskStatus) -> Self
pub fn status(self, input: LicenseConversionTaskStatus) -> Self
The status of the conversion task.
sourcepub fn set_status(self, input: Option<LicenseConversionTaskStatus>) -> Self
pub fn set_status(self, input: Option<LicenseConversionTaskStatus>) -> Self
The status of the conversion task.
sourcepub fn get_status(&self) -> &Option<LicenseConversionTaskStatus>
pub fn get_status(&self) -> &Option<LicenseConversionTaskStatus>
The status of the conversion task.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message for the conversion task.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message for the conversion task.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message for the conversion task.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time the conversion task was started at.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time the conversion task was started at.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The time the conversion task was started at.
sourcepub fn license_conversion_time(self, input: DateTime) -> Self
pub fn license_conversion_time(self, input: DateTime) -> Self
The time the usage operation value of the resource was changed.
sourcepub fn set_license_conversion_time(self, input: Option<DateTime>) -> Self
pub fn set_license_conversion_time(self, input: Option<DateTime>) -> Self
The time the usage operation value of the resource was changed.
sourcepub fn get_license_conversion_time(&self) -> &Option<DateTime>
pub fn get_license_conversion_time(&self) -> &Option<DateTime>
The time the usage operation value of the resource was changed.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time the conversion task was completed.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The time the conversion task was completed.
sourcepub fn build(self) -> LicenseConversionTask
pub fn build(self) -> LicenseConversionTask
Consumes the builder and constructs a LicenseConversionTask.
Trait Implementations§
source§impl Clone for LicenseConversionTaskBuilder
impl Clone for LicenseConversionTaskBuilder
source§fn clone(&self) -> LicenseConversionTaskBuilder
fn clone(&self) -> LicenseConversionTaskBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LicenseConversionTaskBuilder
impl Debug for LicenseConversionTaskBuilder
source§impl Default for LicenseConversionTaskBuilder
impl Default for LicenseConversionTaskBuilder
source§fn default() -> LicenseConversionTaskBuilder
fn default() -> LicenseConversionTaskBuilder
source§impl PartialEq<LicenseConversionTaskBuilder> for LicenseConversionTaskBuilder
impl PartialEq<LicenseConversionTaskBuilder> for LicenseConversionTaskBuilder
source§fn eq(&self, other: &LicenseConversionTaskBuilder) -> bool
fn eq(&self, other: &LicenseConversionTaskBuilder) -> bool
self and other values to be equal, and is used
by ==.