Package com.datadog.api.client.v2.model
Class SampleLogGenerationSubscriptionAttributes
java.lang.Object
com.datadog.api.client.v2.model.SampleLogGenerationSubscriptionAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SampleLogGenerationSubscriptionAttributes
extends Object
The attributes describing a sample log generation subscription.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSampleLogGenerationSubscriptionAttributes(String contentPackId, OffsetDateTime createdAt, OffsetDateTime expiresAt, Boolean isActive, SampleLogGenerationSubscriptionStatus status) -
Method Summary
Modifier and TypeMethodDescriptioncontentPackId(String contentPackId) createdAt(OffsetDateTime createdAt) booleanReturn true if this SampleLogGenerationSubscriptionAttributes object is equal to o.expiresAt(OffsetDateTime expiresAt) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The identifier of the Cloud SIEM content pack the subscription targets.The time at which the subscription was created.The time at which the subscription expires and stops generating logs.Whether the subscription is currently active and generating logs.The status of the subscription.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetContentPackId(String contentPackId) voidsetCreatedAt(OffsetDateTime createdAt) voidsetExpiresAt(OffsetDateTime expiresAt) voidsetIsActive(Boolean isActive) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONTENT_PACK_ID
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_IS_ACTIVE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
SampleLogGenerationSubscriptionAttributes
public SampleLogGenerationSubscriptionAttributes() -
SampleLogGenerationSubscriptionAttributes
public SampleLogGenerationSubscriptionAttributes(String contentPackId, OffsetDateTime createdAt, OffsetDateTime expiresAt, Boolean isActive, SampleLogGenerationSubscriptionStatus status)
-
-
Method Details
-
contentPackId
-
getContentPackId
The identifier of the Cloud SIEM content pack the subscription targets.- Returns:
- contentPackId
-
setContentPackId
-
createdAt
-
getCreatedAt
The time at which the subscription was created.- Returns:
- createdAt
-
setCreatedAt
-
expiresAt
-
getExpiresAt
The time at which the subscription expires and stops generating logs.- Returns:
- expiresAt
-
setExpiresAt
-
isActive
-
getIsActive
Whether the subscription is currently active and generating logs.- Returns:
- isActive
-
setIsActive
-
status
public SampleLogGenerationSubscriptionAttributes status(SampleLogGenerationSubscriptionStatus status) -
getStatus
The status of the subscription.- Returns:
- status
-
setStatus
-
putAdditionalProperty
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:
- SampleLogGenerationSubscriptionAttributes
-
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 SampleLogGenerationSubscriptionAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-