/** * Sets the value of the 'headers' field. * header key/value pairs. * @param value The value of 'headers'. * @return This builder. */ public org.apache.gobblin.http.HttpOperation.Builder setHeaders(java.util.Map<java.lang.String,java.lang.String> value) { validate(fields()[2], value); this.headers = value; fieldSetFlags()[2] = true; return this; }
/** * Sets the value of the 'keys' field. * Key of the resource on which the operation is executed. Complex key resources are identified by more than one key. Hence this field is a map as opposed to a string. The map is used to interpolate the url template in job spec. * @param value The value of 'keys'. * @return This builder. */ public org.apache.gobblin.http.HttpOperation.Builder setKeys(java.util.Map<java.lang.String,java.lang.String> value) { validate(fields()[0], value); this.keys = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'body' field. * body of the http request. It must be either a plain string or a json string. * @param value The value of 'body'. * @return This builder. */ public org.apache.gobblin.http.HttpOperation.Builder setBody(java.lang.String value) { validate(fields()[3], value); this.body = value; fieldSetFlags()[3] = true; return this; }
/** * Sets the value of the 'queryParams' field. * query parameters. * @param value The value of 'queryParams'. * @return This builder. */ public org.apache.gobblin.http.HttpOperation.Builder setQueryParams(java.util.Map<java.lang.String,java.lang.String> value) { validate(fields()[1], value); this.queryParams = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'queryParams' field. * query parameters. * @param value The value of 'queryParams'. * @return This builder. */ public org.apache.gobblin.http.HttpOperation.Builder setQueryParams(java.util.Map<java.lang.String,java.lang.String> value) { validate(fields()[1], value); this.queryParams = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'body' field. * body of the http request. It must be either a plain string or a json string. * @param value The value of 'body'. * @return This builder. */ public org.apache.gobblin.http.HttpOperation.Builder setBody(java.lang.String value) { validate(fields()[3], value); this.body = value; fieldSetFlags()[3] = true; return this; }
/** * Sets the value of the 'headers' field. * header key/value pairs. * @param value The value of 'headers'. * @return This builder. */ public org.apache.gobblin.http.HttpOperation.Builder setHeaders(java.util.Map<java.lang.String,java.lang.String> value) { validate(fields()[2], value); this.headers = value; fieldSetFlags()[2] = true; return this; }
/** * Sets the value of the 'keys' field. * Key of the resource on which the operation is executed. Complex key resources are identified by more than one key. Hence this field is a map as opposed to a string. The map is used to interpolate the url template in job spec. * @param value The value of 'keys'. * @return This builder. */ public org.apache.gobblin.http.HttpOperation.Builder setKeys(java.util.Map<java.lang.String,java.lang.String> value) { validate(fields()[0], value); this.keys = value; fieldSetFlags()[0] = true; return this; }