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. If this parameter is not specified, we attach a default policy that allows
full access to the service.
</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. If this parameter is not specified, we attach a default policy
        that allows full access to the service.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateVpcEndpointRequest.java