Class PerformanceTarget
- java.lang.Object
-
- software.amazon.awssdk.services.redshiftserverless.model.PerformanceTarget
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PerformanceTarget.Builder,PerformanceTarget>
@Generated("software.amazon.awssdk:codegen") public final class PerformanceTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PerformanceTarget.Builder,PerformanceTarget>
An object that represents the price performance target settings for the workgroup.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePerformanceTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PerformanceTarget.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlevel()The target price performance level for the workgroup.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PerformanceTarget.Builder>serializableBuilderClass()PerformanceTargetStatusstatus()Whether the price performance target is enabled for the workgroup.StringstatusAsString()Whether the price performance target is enabled for the workgroup.PerformanceTarget.BuildertoBuilder()StringtoString()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
-
level
public final Integer level()
The target price performance level for the workgroup. Valid values include 1, 25, 50, 75, and 100. These correspond to the price performance levels LOW_COST, ECONOMICAL, BALANCED, RESOURCEFUL, and HIGH_PERFORMANCE.
- Returns:
- The target price performance level for the workgroup. Valid values include 1, 25, 50, 75, and 100. These correspond to the price performance levels LOW_COST, ECONOMICAL, BALANCED, RESOURCEFUL, and HIGH_PERFORMANCE.
-
status
public final PerformanceTargetStatus status()
Whether the price performance target is enabled for the workgroup.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPerformanceTargetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Whether the price performance target is enabled for the workgroup.
- See Also:
PerformanceTargetStatus
-
statusAsString
public final String statusAsString()
Whether the price performance target is enabled for the workgroup.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPerformanceTargetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Whether the price performance target is enabled for the workgroup.
- See Also:
PerformanceTargetStatus
-
toBuilder
public PerformanceTarget.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PerformanceTarget.Builder,PerformanceTarget>
-
builder
public static PerformanceTarget.Builder builder()
-
serializableBuilderClass
public static Class<? extends PerformanceTarget.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-