Class UpdateWorkspaceConfigurationRequest
- 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.UpdateWorkspaceConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateWorkspaceConfigurationRequest.Builder,UpdateWorkspaceConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateWorkspaceConfigurationRequest extends GrafanaRequest implements ToCopyableBuilder<UpdateWorkspaceConfigurationRequest.Builder,UpdateWorkspaceConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateWorkspaceConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateWorkspaceConfigurationRequest.Builderbuilder()Stringconfiguration()The new configuration string for the workspace.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgrafanaVersion()Specifies the version of Grafana to support in the workspace.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateWorkspaceConfigurationRequest.Builder>serializableBuilderClass()UpdateWorkspaceConfigurationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkspaceId()The ID of the workspace to update.-
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
-
configuration
public final String configuration()
The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.
- Returns:
- The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.
-
grafanaVersion
public final String grafanaVersion()
Specifies the version of Grafana to support in the workspace. If not specified, keeps the current version of the workspace.
Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).
To know what versions are available to upgrade to for a specific workspace, see the ListVersions operation.
- Returns:
- Specifies the version of Grafana to support in the workspace. If not specified, keeps the current version
of the workspace.
Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).
To know what versions are available to upgrade to for a specific workspace, see the ListVersions operation.
-
workspaceId
public final String workspaceId()
The ID of the workspace to update.
- Returns:
- The ID of the workspace to update.
-
toBuilder
public UpdateWorkspaceConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateWorkspaceConfigurationRequest.Builder,UpdateWorkspaceConfigurationRequest>- Specified by:
toBuilderin classGrafanaRequest
-
builder
public static UpdateWorkspaceConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateWorkspaceConfigurationRequest.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
-
-