Struct aws_sdk_licensemanager::operation::create_license_version::builders::CreateLicenseVersionOutputBuilder
source · #[non_exhaustive]pub struct CreateLicenseVersionOutputBuilder { /* private fields */ }Expand description
A builder for CreateLicenseVersionOutput.
Implementations§
source§impl CreateLicenseVersionOutputBuilder
impl CreateLicenseVersionOutputBuilder
sourcepub fn license_arn(self, input: impl Into<String>) -> Self
pub fn license_arn(self, input: impl Into<String>) -> Self
License ARN.
sourcepub fn set_license_arn(self, input: Option<String>) -> Self
pub fn set_license_arn(self, input: Option<String>) -> Self
License ARN.
sourcepub fn get_license_arn(&self) -> &Option<String>
pub fn get_license_arn(&self) -> &Option<String>
License ARN.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
New version of the license.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
New version 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 build(self) -> CreateLicenseVersionOutput
pub fn build(self) -> CreateLicenseVersionOutput
Consumes the builder and constructs a CreateLicenseVersionOutput.
Trait Implementations§
source§impl Clone for CreateLicenseVersionOutputBuilder
impl Clone for CreateLicenseVersionOutputBuilder
source§fn clone(&self) -> CreateLicenseVersionOutputBuilder
fn clone(&self) -> CreateLicenseVersionOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for CreateLicenseVersionOutputBuilder
impl Default for CreateLicenseVersionOutputBuilder
source§fn default() -> CreateLicenseVersionOutputBuilder
fn default() -> CreateLicenseVersionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateLicenseVersionOutputBuilder> for CreateLicenseVersionOutputBuilder
impl PartialEq<CreateLicenseVersionOutputBuilder> for CreateLicenseVersionOutputBuilder
source§fn eq(&self, other: &CreateLicenseVersionOutputBuilder) -> bool
fn eq(&self, other: &CreateLicenseVersionOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateLicenseVersionOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateLicenseVersionOutputBuilder
impl Send for CreateLicenseVersionOutputBuilder
impl Sync for CreateLicenseVersionOutputBuilder
impl Unpin for CreateLicenseVersionOutputBuilder
impl UnwindSafe for CreateLicenseVersionOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more