public ScalingPolicy withPolicyType(String policyType) {
        setPolicyType(policyType);
        return this;
    }
<p>
The type of scaling policy.
</p>

@param policyType
       The type of scaling policy.
@return Returns a reference to this object so that method calls can be chained together.
@see PolicyType
aws-java-sdk-autoscalingplans/src/main/java/com/amazonaws/services/autoscalingplans/model/ScalingPolicy.java