public String getPolicyDocument() {
        return this.policyDocument;
    }
<p>
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The
policy must be in valid JSON format.
</p>

@return (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
        The policy must be in valid JSON format.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcEndpointRequest.java