public CreationInfo withPermissions(String permissions) {
        setPermissions(permissions);
        return this;
    }
<p>
Specifies the POSIX permissions to apply to the <code>RootDirectory</code>, in the format of an octal number
representing the file's mode bits.
</p>

@param permissions
       Specifies the POSIX permissions to apply to the <code>RootDirectory</code>, in the format of an octal
       number representing the file's mode bits.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-efs/src/main/java/com/amazonaws/services/elasticfilesystem/model/CreationInfo.java