Class DisassociateLicenseRequest
- 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.DisassociateLicenseRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DisassociateLicenseRequest.Builder,DisassociateLicenseRequest>
@Generated("software.amazon.awssdk:codegen") public final class DisassociateLicenseRequest extends GrafanaRequest implements ToCopyableBuilder<DisassociateLicenseRequest.Builder,DisassociateLicenseRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDisassociateLicenseRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisassociateLicenseRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LicenseTypelicenseType()The type of license to remove from the workspace.StringlicenseTypeAsString()The type of license to remove from the workspace.List<SdkField<?>>sdkFields()static Class<? extends DisassociateLicenseRequest.Builder>serializableBuilderClass()DisassociateLicenseRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkspaceId()The ID of the workspace to remove the Grafana Enterprise license from.-
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
-
licenseType
public final LicenseType licenseType()
The type of license to remove from the workspace.
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 remove from the workspace.
- See Also:
LicenseType
-
licenseTypeAsString
public final String licenseTypeAsString()
The type of license to remove from the workspace.
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 remove from the workspace.
- See Also:
LicenseType
-
workspaceId
public final String workspaceId()
The ID of the workspace to remove the Grafana Enterprise license from.
- Returns:
- The ID of the workspace to remove the Grafana Enterprise license from.
-
toBuilder
public DisassociateLicenseRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DisassociateLicenseRequest.Builder,DisassociateLicenseRequest>- Specified by:
toBuilderin classGrafanaRequest
-
builder
public static DisassociateLicenseRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DisassociateLicenseRequest.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
-
-