List of usage examples for com.amazonaws.services.applicationautoscaling.model ScalingPolicy getServiceNamespace
public String getServiceNamespace()
The namespace of the AWS service that provides the resource or custom-resource
for a resource provided by your own application or service.
From source file:com.netflix.spinnaker.clouddriver.ecs.services.EcsCloudMetricService.java
License:Apache License
private PutScalingPolicyRequest buildPutScalingPolicyRequest(ScalingPolicy policy) { return new PutScalingPolicyRequest().withPolicyName(policy.getPolicyName()) .withServiceNamespace(policy.getServiceNamespace()).withPolicyType(policy.getPolicyType()) .withResourceId(policy.getResourceId()).withScalableDimension(policy.getScalableDimension()) .withStepScalingPolicyConfiguration(policy.getStepScalingPolicyConfiguration()) .withTargetTrackingScalingPolicyConfiguration(policy.getTargetTrackingScalingPolicyConfiguration()); }