internal override HttpRequestMessageBuilder BuildRequest(HttpRequestMessageBuilder requestMessageBuilder) { if (string.IsNullOrEmpty(this.PolicyJsonString)) { new MinioException("SetPolicyArgs needs the policy to be set to the right JSON contents."); } requestMessageBuilder.AddQueryParameter("policy", ""); requestMessageBuilder.AddJsonBody(this.PolicyJsonString); return(requestMessageBuilder); }