Class ScalableTargetAction
- java.lang.Object
-
- software.amazon.awssdk.services.applicationautoscaling.model.ScalableTargetAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScalableTargetAction.Builder,ScalableTargetAction>
@Generated("software.amazon.awssdk:codegen") public final class ScalableTargetAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScalableTargetAction.Builder,ScalableTargetAction>
Represents the minimum and maximum capacity for a scheduled action.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScalableTargetAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScalableTargetAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxCapacity()The maximum capacity.IntegerminCapacity()The minimum capacity.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ScalableTargetAction.Builder>serializableBuilderClass()ScalableTargetAction.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
-
minCapacity
public final Integer minCapacity()
The minimum capacity.
When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.
- Returns:
- The minimum capacity.
When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.
-
maxCapacity
public final Integer maxCapacity()
The maximum capacity.
Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.
- Returns:
- The maximum capacity.
Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.
-
toBuilder
public ScalableTargetAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScalableTargetAction.Builder,ScalableTargetAction>
-
builder
public static ScalableTargetAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScalableTargetAction.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
-
-