Class DatastoreDataAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DatastoreDataAttributes extends Object
Detailed information about a datastore.
  • Field Details

  • Constructor Details

    • DatastoreDataAttributes

      public DatastoreDataAttributes()
  • Method Details

    • createdAt

      public DatastoreDataAttributes createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp when the datastore was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • creatorUserId

      public DatastoreDataAttributes creatorUserId(Long creatorUserId)
    • getCreatorUserId

      @Nullable public Long getCreatorUserId()
      The numeric ID of the user who created the datastore.
      Returns:
      creatorUserId
    • setCreatorUserId

      public void setCreatorUserId(Long creatorUserId)
    • creatorUserUuid

      public DatastoreDataAttributes creatorUserUuid(String creatorUserUuid)
    • getCreatorUserUuid

      @Nullable public String getCreatorUserUuid()
      The UUID of the user who created the datastore.
      Returns:
      creatorUserUuid
    • setCreatorUserUuid

      public void setCreatorUserUuid(String creatorUserUuid)
    • description

      public DatastoreDataAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      A human-readable description about the datastore.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • modifiedAt

      public DatastoreDataAttributes modifiedAt(OffsetDateTime modifiedAt)
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Timestamp when the datastore was last modified.
      Returns:
      modifiedAt
    • setModifiedAt

      public void setModifiedAt(OffsetDateTime modifiedAt)
    • name

      public DatastoreDataAttributes name(String name)
    • getName

      @Nullable public String getName()
      The display name of the datastore.
      Returns:
      name
    • setName

      public void setName(String name)
    • orgId

      public DatastoreDataAttributes orgId(Long orgId)
    • getOrgId

      @Nullable public Long getOrgId()
      The ID of the organization that owns this datastore.
      Returns:
      orgId
    • setOrgId

      public void setOrgId(Long orgId)
    • primaryColumnName

      public DatastoreDataAttributes primaryColumnName(String primaryColumnName)
    • getPrimaryColumnName

      @Nullable public String getPrimaryColumnName()
      The name of the primary key column for this datastore. Primary column names: - Must abide by both PostgreSQL naming conventions - Cannot exceed 63 characters
      Returns:
      primaryColumnName
    • setPrimaryColumnName

      public void setPrimaryColumnName(String primaryColumnName)
    • primaryKeyGenerationStrategy

      public DatastoreDataAttributes primaryKeyGenerationStrategy(DatastorePrimaryKeyGenerationStrategy primaryKeyGenerationStrategy)
    • getPrimaryKeyGenerationStrategy

      @Nullable public DatastorePrimaryKeyGenerationStrategy getPrimaryKeyGenerationStrategy()
      Can be set to uuid to automatically generate primary keys when new items are added. Default value is none, which requires you to supply a primary key for each new item.
      Returns:
      primaryKeyGenerationStrategy
    • setPrimaryKeyGenerationStrategy

      public void setPrimaryKeyGenerationStrategy(DatastorePrimaryKeyGenerationStrategy primaryKeyGenerationStrategy)
    • putAdditionalProperty

      public DatastoreDataAttributes 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:
      DatastoreDataAttributes
    • 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 DatastoreDataAttributes 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