Class TargetTrackingScalingConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.TargetTrackingScalingConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TargetTrackingScalingConfiguration.Builder,TargetTrackingScalingConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class TargetTrackingScalingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetTrackingScalingConfiguration.Builder,TargetTrackingScalingConfiguration>
Defines when a new instance is auto-scaled into the compute fleet.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTargetTrackingScalingConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetTrackingScalingConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()FleetScalingMetricTypemetricType()The metric type to determine auto-scaling.StringmetricTypeAsString()The metric type to determine auto-scaling.List<SdkField<?>>sdkFields()static Class<? extends TargetTrackingScalingConfiguration.Builder>serializableBuilderClass()DoubletargetValue()The value ofmetricTypewhen to start scaling.TargetTrackingScalingConfiguration.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
-
metricType
public final FleetScalingMetricType metricType()
The metric type to determine auto-scaling.
If the service returns an enum value that is not available in the current SDK version,
metricTypewill returnFleetScalingMetricType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommetricTypeAsString().- Returns:
- The metric type to determine auto-scaling.
- See Also:
FleetScalingMetricType
-
metricTypeAsString
public final String metricTypeAsString()
The metric type to determine auto-scaling.
If the service returns an enum value that is not available in the current SDK version,
metricTypewill returnFleetScalingMetricType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommetricTypeAsString().- Returns:
- The metric type to determine auto-scaling.
- See Also:
FleetScalingMetricType
-
targetValue
public final Double targetValue()
The value of
metricTypewhen to start scaling.- Returns:
- The value of
metricTypewhen to start scaling.
-
toBuilder
public TargetTrackingScalingConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TargetTrackingScalingConfiguration.Builder,TargetTrackingScalingConfiguration>
-
builder
public static TargetTrackingScalingConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends TargetTrackingScalingConfiguration.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.
-
-