public String getAccess() {
        return this.access;
    }
<p>
The access setting.
</p>
<p>
The following access settings are available:
</p>
<ul>
<li>
<p>
<code>allow</code> - Allows access to the bucket and its objects.
</p>
</li>
<li>
<p>
<code>deny</code> - Denies access to the bucket and its objects. Use this setting to remove access for a resource
previously set to <code>allow</code>.
</p>
</li>
</ul>

@return The access setting.</p>
        <p>
        The following access settings are available:
        </p>
        <ul>
        <li>
        <p>
        <code>allow</code> - Allows access to the bucket and its objects.
        </p>
        </li>
        <li>
        <p>
        <code>deny</code> - Denies access to the bucket and its objects. Use this setting to remove access for a
        resource previously set to <code>allow</code>.
        </p>
        </li>
@see ResourceBucketAccess
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/SetResourceAccessForBucketRequest.java