Struct aws_sdk_grafana::operation::associate_license::builders::AssociateLicenseFluentBuilder
source · pub struct AssociateLicenseFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateLicense
.
Assigns a Grafana Enterprise license to a workspace. Upgrading to Grafana Enterprise incurs additional fees. For more information, see Upgrade a workspace to Grafana Enterprise.
Implementations§
source§impl AssociateLicenseFluentBuilder
impl AssociateLicenseFluentBuilder
sourcepub fn as_input(&self) -> &AssociateLicenseInputBuilder
pub fn as_input(&self) -> &AssociateLicenseInputBuilder
Access the AssociateLicense as a reference.
sourcepub async fn send(
self
) -> Result<AssociateLicenseOutput, SdkError<AssociateLicenseError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateLicenseOutput, SdkError<AssociateLicenseError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AssociateLicenseOutput, AssociateLicenseError, Self>
pub fn customize( self ) -> CustomizableOperation<AssociateLicenseOutput, AssociateLicenseError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for AssociateLicenseFluentBuilder
impl Clone for AssociateLicenseFluentBuilder
source§fn clone(&self) -> AssociateLicenseFluentBuilder
fn clone(&self) -> AssociateLicenseFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more