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.
This field is required.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.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
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.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
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.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
sourcepub fn grafana_token(self, input: impl Into<String>) -> Self
pub fn grafana_token(self, input: impl Into<String>) -> Self
A token from Grafana Labs that ties your Amazon Web Services account with a Grafana Labs account. For more information, see Link your account with Grafana Labs.
sourcepub fn set_grafana_token(self, input: Option<String>) -> Self
pub fn set_grafana_token(self, input: Option<String>) -> Self
A token from Grafana Labs that ties your Amazon Web Services account with a Grafana Labs account. For more information, see Link your account with Grafana Labs.
sourcepub fn get_grafana_token(&self) -> &Option<String>
pub fn get_grafana_token(&self) -> &Option<String>
A token from Grafana Labs that ties your Amazon Web Services account with a Grafana Labs account. For more information, see Link your account with Grafana Labs.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for AssociateLicenseInputBuilder
impl PartialEq for AssociateLicenseInputBuilder
source§fn eq(&self, other: &AssociateLicenseInputBuilder) -> bool
fn eq(&self, other: &AssociateLicenseInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AssociateLicenseInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateLicenseInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more