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 Register 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 Register 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 Register 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 ==.