Struct aws_sdk_licensemanager::operation::check_in_license::builders::CheckInLicenseInputBuilder
source · #[non_exhaustive]pub struct CheckInLicenseInputBuilder { /* private fields */ }Expand description
A builder for CheckInLicenseInput.
Implementations§
source§impl CheckInLicenseInputBuilder
impl CheckInLicenseInputBuilder
sourcepub fn license_consumption_token(self, input: impl Into<String>) -> Self
pub fn license_consumption_token(self, input: impl Into<String>) -> Self
License consumption token.
sourcepub fn set_license_consumption_token(self, input: Option<String>) -> Self
pub fn set_license_consumption_token(self, input: Option<String>) -> Self
License consumption token.
sourcepub fn get_license_consumption_token(&self) -> &Option<String>
pub fn get_license_consumption_token(&self) -> &Option<String>
License consumption token.
sourcepub fn beneficiary(self, input: impl Into<String>) -> Self
pub fn beneficiary(self, input: impl Into<String>) -> Self
License beneficiary.
sourcepub fn set_beneficiary(self, input: Option<String>) -> Self
pub fn set_beneficiary(self, input: Option<String>) -> Self
License beneficiary.
sourcepub fn get_beneficiary(&self) -> &Option<String>
pub fn get_beneficiary(&self) -> &Option<String>
License beneficiary.
sourcepub fn build(self) -> Result<CheckInLicenseInput, BuildError>
pub fn build(self) -> Result<CheckInLicenseInput, BuildError>
Consumes the builder and constructs a CheckInLicenseInput.
source§impl CheckInLicenseInputBuilder
impl CheckInLicenseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CheckInLicenseOutput, SdkError<CheckInLicenseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CheckInLicenseOutput, SdkError<CheckInLicenseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CheckInLicenseInputBuilder
impl Clone for CheckInLicenseInputBuilder
source§fn clone(&self) -> CheckInLicenseInputBuilder
fn clone(&self) -> CheckInLicenseInputBuilder
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 Debug for CheckInLicenseInputBuilder
impl Debug for CheckInLicenseInputBuilder
source§impl Default for CheckInLicenseInputBuilder
impl Default for CheckInLicenseInputBuilder
source§fn default() -> CheckInLicenseInputBuilder
fn default() -> CheckInLicenseInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CheckInLicenseInputBuilder> for CheckInLicenseInputBuilder
impl PartialEq<CheckInLicenseInputBuilder> for CheckInLicenseInputBuilder
source§fn eq(&self, other: &CheckInLicenseInputBuilder) -> bool
fn eq(&self, other: &CheckInLicenseInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CheckInLicenseInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CheckInLicenseInputBuilder
impl Send for CheckInLicenseInputBuilder
impl Sync for CheckInLicenseInputBuilder
impl Unpin for CheckInLicenseInputBuilder
impl UnwindSafe for CheckInLicenseInputBuilder
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