Interface ManagedApplicationAutoScalingPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedApplicationAutoScalingPolicy.Builder,ManagedApplicationAutoScalingPolicy>,SdkBuilder<ManagedApplicationAutoScalingPolicy.Builder,ManagedApplicationAutoScalingPolicy>,SdkPojo
- Enclosing class:
- ManagedApplicationAutoScalingPolicy
@Mutable @NotThreadSafe public static interface ManagedApplicationAutoScalingPolicy.Builder extends SdkPojo, CopyableBuilder<ManagedApplicationAutoScalingPolicy.Builder,ManagedApplicationAutoScalingPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedApplicationAutoScalingPolicy.Builderarn(String arn)The Amazon Resource Name (ARN) of the Application Auto Scaling policy associated with the Express service.ManagedApplicationAutoScalingPolicy.Buildermetric(String metric)The metric used for auto scaling decisions.ManagedApplicationAutoScalingPolicy.BuilderpolicyType(String policyType)The type of Application Auto Scaling policy associated with the Express service.ManagedApplicationAutoScalingPolicy.Builderstatus(String status)The status of Application Auto Scaling policy creation.ManagedApplicationAutoScalingPolicy.Builderstatus(ManagedResourceStatus status)The status of Application Auto Scaling policy creation.ManagedApplicationAutoScalingPolicy.BuilderstatusReason(String statusReason)Information about why the Application Auto Scaling policy is in the current status.ManagedApplicationAutoScalingPolicy.BuildertargetValue(Double targetValue)The target value for the auto scaling metric.ManagedApplicationAutoScalingPolicy.BuilderupdatedAt(Instant updatedAt)The Unix timestamp for when the Application Auto Scaling policy was last updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
ManagedApplicationAutoScalingPolicy.Builder arn(String arn)
The Amazon Resource Name (ARN) of the Application Auto Scaling policy associated with the Express service.
- Parameters:
arn- The Amazon Resource Name (ARN) of the Application Auto Scaling policy associated with the Express service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ManagedApplicationAutoScalingPolicy.Builder status(String status)
The status of Application Auto Scaling policy creation.
- Parameters:
status- The status of Application Auto Scaling policy creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedResourceStatus,ManagedResourceStatus
-
status
ManagedApplicationAutoScalingPolicy.Builder status(ManagedResourceStatus status)
The status of Application Auto Scaling policy creation.
- Parameters:
status- The status of Application Auto Scaling policy creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedResourceStatus,ManagedResourceStatus
-
statusReason
ManagedApplicationAutoScalingPolicy.Builder statusReason(String statusReason)
Information about why the Application Auto Scaling policy is in the current status.
- Parameters:
statusReason- Information about why the Application Auto Scaling policy is in the current status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
ManagedApplicationAutoScalingPolicy.Builder updatedAt(Instant updatedAt)
The Unix timestamp for when the Application Auto Scaling policy was last updated.
- Parameters:
updatedAt- The Unix timestamp for when the Application Auto Scaling policy was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyType
ManagedApplicationAutoScalingPolicy.Builder policyType(String policyType)
The type of Application Auto Scaling policy associated with the Express service. Valid values are
TargetTrackingScaling,StepScaling, andPredictiveScaling.- Parameters:
policyType- The type of Application Auto Scaling policy associated with the Express service. Valid values areTargetTrackingScaling,StepScaling, andPredictiveScaling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetValue
ManagedApplicationAutoScalingPolicy.Builder targetValue(Double targetValue)
The target value for the auto scaling metric.
- Parameters:
targetValue- The target value for the auto scaling metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
ManagedApplicationAutoScalingPolicy.Builder metric(String metric)
The metric used for auto scaling decisions. The available metrics are
ECSServiceAverageCPUUtilization,ECSServiceAverageMemoryUtilization, andALBRequestCOuntPerTarget.- Parameters:
metric- The metric used for auto scaling decisions. The available metrics areECSServiceAverageCPUUtilization,ECSServiceAverageMemoryUtilization, andALBRequestCOuntPerTarget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-