Struct aws_sdk_grafana::operation::associate_license::builders::AssociateLicenseInputBuilder
source · #[non_exhaustive]pub struct AssociateLicenseInputBuilder { /* private fields */ }
Expand description
A builder for AssociateLicenseInput
.
Implementations§
source§impl AssociateLicenseInputBuilder
impl AssociateLicenseInputBuilder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace to associate the license with.
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace to associate the license with.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace to associate the license with.
sourcepub fn license_type(self, input: LicenseType) -> Self
pub fn license_type(self, input: LicenseType) -> Self
The type of license to associate with the workspace.
sourcepub fn set_license_type(self, input: Option<LicenseType>) -> Self
pub fn set_license_type(self, input: Option<LicenseType>) -> Self
The type of license to associate with the workspace.
sourcepub fn get_license_type(&self) -> &Option<LicenseType>
pub fn get_license_type(&self) -> &Option<LicenseType>
The type of license to associate with the workspace.
sourcepub fn build(self) -> Result<AssociateLicenseInput, BuildError>
pub fn build(self) -> Result<AssociateLicenseInput, BuildError>
Consumes the builder and constructs a AssociateLicenseInput
.
source§impl AssociateLicenseInputBuilder
impl AssociateLicenseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateLicenseOutput, SdkError<AssociateLicenseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateLicenseOutput, SdkError<AssociateLicenseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateLicenseInputBuilder
impl Clone for AssociateLicenseInputBuilder
source§fn clone(&self) -> AssociateLicenseInputBuilder
fn clone(&self) -> AssociateLicenseInputBuilder
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 AssociateLicenseInputBuilder
impl Debug for AssociateLicenseInputBuilder
source§impl Default for AssociateLicenseInputBuilder
impl Default for AssociateLicenseInputBuilder
source§fn default() -> AssociateLicenseInputBuilder
fn default() -> AssociateLicenseInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AssociateLicenseInputBuilder> for AssociateLicenseInputBuilder
impl PartialEq<AssociateLicenseInputBuilder> for AssociateLicenseInputBuilder
source§fn eq(&self, other: &AssociateLicenseInputBuilder) -> bool
fn eq(&self, other: &AssociateLicenseInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateLicenseInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AssociateLicenseInputBuilder
impl Send for AssociateLicenseInputBuilder
impl Sync for AssociateLicenseInputBuilder
impl Unpin for AssociateLicenseInputBuilder
impl UnwindSafe for AssociateLicenseInputBuilder
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