public GetChannelPolicyResult withPolicy(String policy) {
        setPolicy(policy);
        return this;
    }
<p>
The IAM policy for the channel. IAM policies are used to control access to your channel.
</p>

@param policy
       The IAM policy for the channel. IAM policies are used to control access to your channel.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediatailor/src/main/java/com/amazonaws/services/mediatailor/model/GetChannelPolicyResult.java