Class AssociateLicenseRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.grafana.model.GrafanaRequest
-
- software.amazon.awssdk.services.grafana.model.AssociateLicenseRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateLicenseRequest.Builder,AssociateLicenseRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssociateLicenseRequest extends GrafanaRequest implements ToCopyableBuilder<AssociateLicenseRequest.Builder,AssociateLicenseRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociateLicenseRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociateLicenseRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgrafanaToken()A token from Grafana Labs that ties your Amazon Web Services account with a Grafana Labs account.inthashCode()LicenseTypelicenseType()The type of license to associate with the workspace.StringlicenseTypeAsString()The type of license to associate with the workspace.List<SdkField<?>>sdkFields()static Class<? extends AssociateLicenseRequest.Builder>serializableBuilderClass()AssociateLicenseRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkspaceId()The ID of the workspace to associate the license with.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
grafanaToken
public final String grafanaToken()
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.
- Returns:
- 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.
-
licenseType
public final LicenseType licenseType()
The type of license to associate with the workspace.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
If the service returns an enum value that is not available in the current SDK version,
licenseTypewill returnLicenseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseTypeAsString().- Returns:
- The type of license to associate with the workspace.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- See Also:
LicenseType
-
licenseTypeAsString
public final String licenseTypeAsString()
The type of license to associate with the workspace.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
If the service returns an enum value that is not available in the current SDK version,
licenseTypewill returnLicenseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseTypeAsString().- Returns:
- The type of license to associate with the workspace.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
- See Also:
LicenseType
-
workspaceId
public final String workspaceId()
The ID of the workspace to associate the license with.
- Returns:
- The ID of the workspace to associate the license with.
-
toBuilder
public AssociateLicenseRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateLicenseRequest.Builder,AssociateLicenseRequest>- Specified by:
toBuilderin classGrafanaRequest
-
builder
public static AssociateLicenseRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociateLicenseRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-