public CreateSchedulingPolicyResult withArn(String arn) {
        setArn(arn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the scheduling policy. The format is
<code>aws:<i>Partition</i>:batch:<i>Region</i>:<i>Account</i>:scheduling-policy/<i>Name</i> </code>. For example,
<code>aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy</code>.
</p>

@param arn
       The Amazon Resource Name (ARN) of the scheduling policy. The format is
       <code>aws:<i>Partition</i>:batch:<i>Region</i>:<i>Account</i>:scheduling-policy/<i>Name</i> </code>. For
       example, <code>aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/CreateSchedulingPolicyResult.java