public void setType(String type) {
        this.type = type;
    }
<p>
Tye type of policy. Currently, the only supported value is <code>data</code>.
</p>

@param type
       Tye type of policy. Currently, the only supported value is <code>data</code>.
@see AccessPolicyType
aws-java-sdk-opensearchserverless/src/main/java/com/amazonaws/services/opensearchserverless/model/GetAccessPolicyRequest.java