Class RecommendedAction
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.model.RecommendedAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RecommendedAction.Builder,RecommendedAction>
@Generated("software.amazon.awssdk:codegen") public final class RecommendedAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecommendedAction.Builder,RecommendedAction>
The recommended action from the Amazon Redshift Advisor recommendation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecommendedAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecommendedAction.Builderbuilder()Stringcommand()The command to run.Stringdatabase()The database name to perform the action on.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RecommendedAction.Builder>serializableBuilderClass()Stringtext()The specific instruction about the command.RecommendedAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.RecommendedActionTypetype()The type of command.StringtypeAsString()The type of command.-
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
-
text
public final String text()
The specific instruction about the command.
- Returns:
- The specific instruction about the command.
-
database
public final String database()
The database name to perform the action on. Only applicable if the type of command is SQL.
- Returns:
- The database name to perform the action on. Only applicable if the type of command is SQL.
-
command
public final String command()
The command to run.
- Returns:
- The command to run.
-
type
public final RecommendedActionType type()
The type of command.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRecommendedActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of command.
- See Also:
RecommendedActionType
-
typeAsString
public final String typeAsString()
The type of command.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRecommendedActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of command.
- See Also:
RecommendedActionType
-
toBuilder
public RecommendedAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecommendedAction.Builder,RecommendedAction>
-
builder
public static RecommendedAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecommendedAction.Builder> serializableBuilderClass()
-
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.
-
-