public Optional<Output<String>> type() {
        return Optional.ofNullable(this.type);
    }
@return type is used to specify the scaling policy.
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2/inputs/HPAScalingPolicyPatchArgs.java