2727 * application key created by an admin.
2828 */
2929@ JsonPropertyOrder ({
30+ LogsPipeline .JSON_PROPERTY_DESCRIPTION ,
3031 LogsPipeline .JSON_PROPERTY_FILTER ,
3132 LogsPipeline .JSON_PROPERTY_ID ,
3233 LogsPipeline .JSON_PROPERTY_IS_ENABLED ,
3334 LogsPipeline .JSON_PROPERTY_IS_READ_ONLY ,
3435 LogsPipeline .JSON_PROPERTY_NAME ,
3536 LogsPipeline .JSON_PROPERTY_PROCESSORS ,
37+ LogsPipeline .JSON_PROPERTY_TAGS ,
3638 LogsPipeline .JSON_PROPERTY_TYPE
3739})
3840@ jakarta .annotation .Generated (
3941 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
4042public class LogsPipeline {
4143 @ JsonIgnore public boolean unparsed = false ;
44+ public static final String JSON_PROPERTY_DESCRIPTION = "description" ;
45+ private String description ;
46+
4247 public static final String JSON_PROPERTY_FILTER = "filter" ;
4348 private LogsFilter filter ;
4449
@@ -57,6 +62,9 @@ public class LogsPipeline {
5762 public static final String JSON_PROPERTY_PROCESSORS = "processors" ;
5863 private List <LogsProcessor > processors = null ;
5964
65+ public static final String JSON_PROPERTY_TAGS = "tags" ;
66+ private List <String > tags = null ;
67+
6068 public static final String JSON_PROPERTY_TYPE = "type" ;
6169 private String type ;
6270
@@ -67,6 +75,27 @@ public LogsPipeline(@JsonProperty(required = true, value = JSON_PROPERTY_NAME) S
6775 this .name = name ;
6876 }
6977
78+ public LogsPipeline description (String description ) {
79+ this .description = description ;
80+ return this ;
81+ }
82+
83+ /**
84+ * A description of the pipeline.
85+ *
86+ * @return description
87+ */
88+ @ jakarta .annotation .Nullable
89+ @ JsonProperty (JSON_PROPERTY_DESCRIPTION )
90+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
91+ public String getDescription () {
92+ return description ;
93+ }
94+
95+ public void setDescription (String description ) {
96+ this .description = description ;
97+ }
98+
7099 public LogsPipeline filter (LogsFilter filter ) {
71100 this .filter = filter ;
72101 this .unparsed |= filter .unparsed ;
@@ -187,6 +216,35 @@ public void setProcessors(List<LogsProcessor> processors) {
187216 this .processors = processors ;
188217 }
189218
219+ public LogsPipeline tags (List <String > tags ) {
220+ this .tags = tags ;
221+ return this ;
222+ }
223+
224+ public LogsPipeline addTagsItem (String tagsItem ) {
225+ if (this .tags == null ) {
226+ this .tags = new ArrayList <>();
227+ }
228+ this .tags .add (tagsItem );
229+ return this ;
230+ }
231+
232+ /**
233+ * A list of tags associated with the pipeline.
234+ *
235+ * @return tags
236+ */
237+ @ jakarta .annotation .Nullable
238+ @ JsonProperty (JSON_PROPERTY_TAGS )
239+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
240+ public List <String > getTags () {
241+ return tags ;
242+ }
243+
244+ public void setTags (List <String > tags ) {
245+ this .tags = tags ;
246+ }
247+
190248 /**
191249 * Type of pipeline.
192250 *
@@ -255,32 +313,45 @@ public boolean equals(Object o) {
255313 return false ;
256314 }
257315 LogsPipeline logsPipeline = (LogsPipeline ) o ;
258- return Objects .equals (this .filter , logsPipeline .filter )
316+ return Objects .equals (this .description , logsPipeline .description )
317+ && Objects .equals (this .filter , logsPipeline .filter )
259318 && Objects .equals (this .id , logsPipeline .id )
260319 && Objects .equals (this .isEnabled , logsPipeline .isEnabled )
261320 && Objects .equals (this .isReadOnly , logsPipeline .isReadOnly )
262321 && Objects .equals (this .name , logsPipeline .name )
263322 && Objects .equals (this .processors , logsPipeline .processors )
323+ && Objects .equals (this .tags , logsPipeline .tags )
264324 && Objects .equals (this .type , logsPipeline .type )
265325 && Objects .equals (this .additionalProperties , logsPipeline .additionalProperties );
266326 }
267327
268328 @ Override
269329 public int hashCode () {
270330 return Objects .hash (
271- filter , id , isEnabled , isReadOnly , name , processors , type , additionalProperties );
331+ description ,
332+ filter ,
333+ id ,
334+ isEnabled ,
335+ isReadOnly ,
336+ name ,
337+ processors ,
338+ tags ,
339+ type ,
340+ additionalProperties );
272341 }
273342
274343 @ Override
275344 public String toString () {
276345 StringBuilder sb = new StringBuilder ();
277346 sb .append ("class LogsPipeline {\n " );
347+ sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
278348 sb .append (" filter: " ).append (toIndentedString (filter )).append ("\n " );
279349 sb .append (" id: " ).append (toIndentedString (id )).append ("\n " );
280350 sb .append (" isEnabled: " ).append (toIndentedString (isEnabled )).append ("\n " );
281351 sb .append (" isReadOnly: " ).append (toIndentedString (isReadOnly )).append ("\n " );
282352 sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
283353 sb .append (" processors: " ).append (toIndentedString (processors )).append ("\n " );
354+ sb .append (" tags: " ).append (toIndentedString (tags )).append ("\n " );
284355 sb .append (" type: " ).append (toIndentedString (type )).append ("\n " );
285356 sb .append (" additionalProperties: " )
286357 .append (toIndentedString (additionalProperties ))
0 commit comments