public String getEffectivePermission() {
        return this.effectivePermission;
    }
<p>
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to
the bucket. Possible values are:
</p>
<ul>
<li>
<p>
NOT_PUBLIC - The bucket isn't publicly accessible.
</p>
</li>
<li>
<p>
PUBLIC - The bucket is publicly accessible.
</p>
</li>
<li>
<p>
UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
</p>
</li>
</ul>

@return <p>
        Specifies whether the bucket is publicly accessible due to the combination of permissions settings that
        apply to the bucket. Possible values are:
        </p>
        <ul>
        <li>
        <p>
        NOT_PUBLIC - The bucket isn't publicly accessible.
        </p>
        </li>
        <li>
        <p>
        PUBLIC - The bucket is publicly accessible.
        </p>
        </li>
        <li>
        <p>
        UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
        </p>
        </li>
        </ul>
@see EffectivePermission
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/BucketPublicAccess.java