public String getPolicy() {
        return this.policy;
    }
<p>
A session policy for your user so that you can use the same Identity and Access Management (IAM) role across
multiple users. This policy scopes down a user's access to portions of their Amazon S3 bucket. Variables that you
can use inside this policy include <code>${Transfer:UserName}</code>, <code>${Transfer:HomeDirectory}</code>, and
<code>${Transfer:HomeBucket}</code>.
</p>

@return A session policy for your user so that you can use the same Identity and Access Management (IAM) role
        across multiple users. This policy scopes down a user's access to portions of their Amazon S3 bucket.
        Variables that you can use inside this policy include <code>${Transfer:UserName}</code>,
        <code>${Transfer:HomeDirectory}</code>, and <code>${Transfer:HomeBucket}</code>.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/DescribedAccess.java