public AwsBackupBackupVaultDetails withAccessPolicy(String accessPolicy) {
        setAccessPolicy(accessPolicy);
        return this;
    }
<p>
A resource-based policy that is used to manage access permissions on the target backup vault.
</p>

@param accessPolicy
       A resource-based policy that is used to manage access permissions on the target backup vault.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsBackupBackupVaultDetails.java