public AuditSinkSpecArgs build() {
            if ($.policy == null) {
                throw new MissingRequiredPropertyException("AuditSinkSpecArgs", "policy");
            }
            if ($.webhook == null) {
                throw new MissingRequiredPropertyException("AuditSinkSpecArgs", "webhook");
            }
            return $;
        }
@param webhook Webhook to send events required

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/auditregistration/v1alpha1/inputs/AuditSinkSpecArgs.java