Package com.datadog.api.client.v2.model
Class SampleLogGenerationBulkSubscriptionAttributes
java.lang.Object
com.datadog.api.client.v2.model.SampleLogGenerationBulkSubscriptionAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SampleLogGenerationBulkSubscriptionAttributes
extends Object
The attributes for creating sample log generation subscriptions for multiple content packs.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContentPackIdsItem(String contentPackIdsItem) contentPackIds(List<String> contentPackIds) duration(SampleLogGenerationDuration duration) booleanReturn true if this SampleLogGenerationBulkSubscriptionAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The identifiers of the Cloud SIEM content packs to subscribe to.How long the subscription should remain active before expiring.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetContentPackIds(List<String> contentPackIds) voidsetDuration(SampleLogGenerationDuration duration) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONTENT_PACK_IDS
- See Also:
-
JSON_PROPERTY_DURATION
- See Also:
-
-
Constructor Details
-
SampleLogGenerationBulkSubscriptionAttributes
public SampleLogGenerationBulkSubscriptionAttributes() -
SampleLogGenerationBulkSubscriptionAttributes
-
-
Method Details
-
contentPackIds
-
addContentPackIdsItem
public SampleLogGenerationBulkSubscriptionAttributes addContentPackIdsItem(String contentPackIdsItem) -
getContentPackIds
The identifiers of the Cloud SIEM content packs to subscribe to. At most five content packs can be requested in a single call.- Returns:
- contentPackIds
-
setContentPackIds
-
duration
-
getDuration
How long the subscription should remain active before expiring.- Returns:
- duration
-
setDuration
-
putAdditionalProperty
public SampleLogGenerationBulkSubscriptionAttributes putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SampleLogGenerationBulkSubscriptionAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SampleLogGenerationBulkSubscriptionAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-