Class Parameter
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.model.Parameter
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Parameter.Builder,Parameter>
@Generated("software.amazon.awssdk:codegen") public final class Parameter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Parameter.Builder,Parameter>
Describes a parameter in a cluster parameter group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Parameter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
allowedValues()
The valid range of values for the parameter.ParameterApplyType
applyType()
Specifies how to apply the WLM configuration parameter.String
applyTypeAsString()
Specifies how to apply the WLM configuration parameter.static Parameter.Builder
builder()
String
dataType()
The data type of the parameter.String
description()
A description of the parameter.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Boolean
isModifiable()
Iftrue
, the parameter can be modified.String
minimumEngineVersion()
The earliest engine version to which the parameter can apply.String
parameterName()
The name of the parameter.String
parameterValue()
The value of the parameter.List<SdkField<?>>
sdkFields()
static Class<? extends Parameter.Builder>
serializableBuilderClass()
String
source()
The source of the parameter value, such as "engine-default" or "user".Parameter.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
parameterName
public final String parameterName()
The name of the parameter.
- Returns:
- The name of the parameter.
-
parameterValue
public final String parameterValue()
The value of the parameter. If
ParameterName
iswlm_json_configuration
, then the maximum size ofParameterValue
is 8000 characters.- Returns:
- The value of the parameter. If
ParameterName
iswlm_json_configuration
, then the maximum size ofParameterValue
is 8000 characters.
-
description
public final String description()
A description of the parameter.
- Returns:
- A description of the parameter.
-
source
public final String source()
The source of the parameter value, such as "engine-default" or "user".
- Returns:
- The source of the parameter value, such as "engine-default" or "user".
-
dataType
public final String dataType()
The data type of the parameter.
- Returns:
- The data type of the parameter.
-
allowedValues
public final String allowedValues()
The valid range of values for the parameter.
- Returns:
- The valid range of values for the parameter.
-
applyType
public final ParameterApplyType applyType()
Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
If the service returns an enum value that is not available in the current SDK version,
applyType
will returnParameterApplyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromapplyTypeAsString()
.- Returns:
- Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- See Also:
ParameterApplyType
-
applyTypeAsString
public final String applyTypeAsString()
Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
If the service returns an enum value that is not available in the current SDK version,
applyType
will returnParameterApplyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromapplyTypeAsString()
.- Returns:
- Specifies how to apply the WLM configuration parameter. Some properties can be applied dynamically, while other properties require that any associated clusters be rebooted for the configuration changes to be applied. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
- See Also:
ParameterApplyType
-
isModifiable
public final Boolean isModifiable()
If
true
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.- Returns:
- If
true
, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
-
minimumEngineVersion
public final String minimumEngineVersion()
The earliest engine version to which the parameter can apply.
- Returns:
- The earliest engine version to which the parameter can apply.
-
toBuilder
public Parameter.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Parameter.Builder,Parameter>
-
builder
public static Parameter.Builder builder()
-
serializableBuilderClass
public static Class<? extends Parameter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-