Class Layer

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Layer extends Object
Encapsulates a layer resource, holding attributes like rotation details, plus relationships to the members covering that layer.
  • Field Details

  • Constructor Details

    • Layer

      public Layer()
    • Layer

      public Layer(LayerType type)
  • Method Details

    • attributes

      public Layer attributes(LayerAttributes attributes)
    • getAttributes

      @Nullable public LayerAttributes getAttributes()
      Describes key properties of a Layer, including rotation details, name, start/end times, and any restrictions.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(LayerAttributes attributes)
    • id

      public Layer id(String id)
    • getId

      @Nullable public String getId()
      A unique identifier for this layer.
      Returns:
      id
    • setId

      public void setId(String id)
    • relationships

      public Layer relationships(LayerRelationships relationships)
    • getRelationships

      @Nullable public LayerRelationships getRelationships()
      Holds references to objects related to the Layer entity, such as its members.
      Returns:
      relationships
    • setRelationships

      public void setRelationships(LayerRelationships relationships)
    • type

      public Layer type(LayerType type)
    • getType

      public LayerType getType()
      Layers resource type.
      Returns:
      type
    • setType

      public void setType(LayerType type)
    • putAdditionalProperty

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