Package com.datadog.api.client.v2.model
Class SampleLogGenerationSubscriptionCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.SampleLogGenerationSubscriptionCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SampleLogGenerationSubscriptionCreateAttributes
extends Object
The attributes for creating a sample log generation subscription.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentPackId(String contentPackId) duration(SampleLogGenerationDuration duration) booleanReturn true if this SampleLogGenerationSubscriptionCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The identifier of the Cloud SIEM content pack 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.voidsetContentPackId(String contentPackId) voidsetDuration(SampleLogGenerationDuration duration) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONTENT_PACK_ID
- See Also:
-
JSON_PROPERTY_DURATION
- See Also:
-
-
Constructor Details
-
SampleLogGenerationSubscriptionCreateAttributes
public SampleLogGenerationSubscriptionCreateAttributes() -
SampleLogGenerationSubscriptionCreateAttributes
-
-
Method Details
-
contentPackId
-
getContentPackId
The identifier of the Cloud SIEM content pack to subscribe to.- Returns:
- contentPackId
-
setContentPackId
-
duration
public SampleLogGenerationSubscriptionCreateAttributes duration(SampleLogGenerationDuration duration) -
getDuration
How long the subscription should remain active before expiring.- Returns:
- duration
-
setDuration
-
putAdditionalProperty
public SampleLogGenerationSubscriptionCreateAttributes 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:
- SampleLogGenerationSubscriptionCreateAttributes
-
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 SampleLogGenerationSubscriptionCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-