Class AllocationExposureGuardrailTrigger

java.lang.Object
com.datadog.api.client.v2.model.AllocationExposureGuardrailTrigger

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AllocationExposureGuardrailTrigger extends Object
Guardrail trigger details for a progressive rollout.
  • Field Details

  • Constructor Details

    • AllocationExposureGuardrailTrigger

      public AllocationExposureGuardrailTrigger()
    • AllocationExposureGuardrailTrigger

      public AllocationExposureGuardrailTrigger(UUID allocationExposureScheduleId, OffsetDateTime createdAt, UUID flaggingVariantId, UUID id, String metricId, String triggeredAction, OffsetDateTime updatedAt)
  • Method Details

    • allocationExposureScheduleId

      public AllocationExposureGuardrailTrigger allocationExposureScheduleId(UUID allocationExposureScheduleId)
    • getAllocationExposureScheduleId

      public UUID getAllocationExposureScheduleId()
      The progressive rollout ID this trigger belongs to.
      Returns:
      allocationExposureScheduleId
    • setAllocationExposureScheduleId

      public void setAllocationExposureScheduleId(UUID allocationExposureScheduleId)
    • createdAt

      public AllocationExposureGuardrailTrigger createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      public OffsetDateTime getCreatedAt()
      The timestamp when this trigger was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • flaggingVariantId

      public AllocationExposureGuardrailTrigger flaggingVariantId(UUID flaggingVariantId)
    • getFlaggingVariantId

      public UUID getFlaggingVariantId()
      The variant ID that triggered this event.
      Returns:
      flaggingVariantId
    • setFlaggingVariantId

      public void setFlaggingVariantId(UUID flaggingVariantId)
    • id

    • getId

      public UUID getId()
      The unique identifier of the guardrail trigger.
      Returns:
      id
    • setId

      public void setId(UUID id)
    • metricId

      public AllocationExposureGuardrailTrigger metricId(String metricId)
    • getMetricId

      public String getMetricId()
      The metric ID associated with the trigger.
      Returns:
      metricId
    • setMetricId

      public void setMetricId(String metricId)
    • triggeredAction

      public AllocationExposureGuardrailTrigger triggeredAction(String triggeredAction)
    • getTriggeredAction

      public String getTriggeredAction()
      The action that was triggered.
      Returns:
      triggeredAction
    • setTriggeredAction

      public void setTriggeredAction(String triggeredAction)
    • updatedAt

      public AllocationExposureGuardrailTrigger updatedAt(OffsetDateTime updatedAt)
    • getUpdatedAt

      public OffsetDateTime getUpdatedAt()
      The timestamp when this trigger was last updated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(OffsetDateTime updatedAt)
    • putAdditionalProperty

      public AllocationExposureGuardrailTrigger 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 set
      value - The associated value
      Returns:
      AllocationExposureGuardrailTrigger
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this AllocationExposureGuardrailTrigger object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object