Class IPAllowlistEntryAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IPAllowlistEntryAttributes extends Object
Attributes of the IP allowlist entry.
  • Field Details

  • Constructor Details

    • IPAllowlistEntryAttributes

      public IPAllowlistEntryAttributes()
  • Method Details

    • cidrBlock

      public IPAllowlistEntryAttributes cidrBlock(String cidrBlock)
    • getCidrBlock

      @Nullable public String getCidrBlock()
      The CIDR block describing the IP range of the entry.
      Returns:
      cidrBlock
    • setCidrBlock

      public void setCidrBlock(String cidrBlock)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Creation time of the entry.
      Returns:
      createdAt
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Time of last entry modification.
      Returns:
      modifiedAt
    • note

      public IPAllowlistEntryAttributes note(String note)
    • getNote

      @Nullable public String getNote()
      A note describing the IP allowlist entry.
      Returns:
      note
    • setNote

      public void setNote(String note)
    • putAdditionalProperty

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