Class ContainerAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ContainerAttributes extends Object
Attributes for a container.
  • Field Details

  • Constructor Details

    • ContainerAttributes

      public ContainerAttributes()
  • Method Details

    • containerId

      public ContainerAttributes containerId(String containerId)
    • getContainerId

      @Nullable public String getContainerId()
      The ID of the container.
      Returns:
      containerId
    • setContainerId

      public void setContainerId(String containerId)
    • createdAt

      public ContainerAttributes createdAt(String createdAt)
    • getCreatedAt

      @Nullable public String getCreatedAt()
      Time the container was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(String createdAt)
    • host

      public ContainerAttributes host(String host)
    • getHost

      @Nullable public String getHost()
      Hostname of the host running the container.
      Returns:
      host
    • setHost

      public void setHost(String host)
    • imageDigest

      public ContainerAttributes imageDigest(String imageDigest)
    • getImageDigest

      @Nullable public String getImageDigest()
      Digest of the compressed image manifest.
      Returns:
      imageDigest
    • getImageDigest_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getImageDigest_JsonNullable()
    • setImageDigest_JsonNullable

      public void setImageDigest_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> imageDigest)
    • setImageDigest

      public void setImageDigest(String imageDigest)
    • imageName

      public ContainerAttributes imageName(String imageName)
    • getImageName

      @Nullable public String getImageName()
      Name of the associated container image.
      Returns:
      imageName
    • setImageName

      public void setImageName(String imageName)
    • imageTags

      public ContainerAttributes imageTags(List<String> imageTags)
    • addImageTagsItem

      public ContainerAttributes addImageTagsItem(String imageTagsItem)
    • getImageTags

      @Nullable public List<String> getImageTags()
      List of image tags associated with the container image.
      Returns:
      imageTags
    • getImageTags_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getImageTags_JsonNullable()
    • setImageTags_JsonNullable

      public void setImageTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> imageTags)
    • setImageTags

      public void setImageTags(List<String> imageTags)
    • name

      public ContainerAttributes name(String name)
    • getName

      @Nullable public String getName()
      Name of the container.
      Returns:
      name
    • setName

      public void setName(String name)
    • startedAt

      public ContainerAttributes startedAt(String startedAt)
    • getStartedAt

      @Nullable public String getStartedAt()
      Time the container was started.
      Returns:
      startedAt
    • setStartedAt

      public void setStartedAt(String startedAt)
    • state

      public ContainerAttributes state(String state)
    • getState

      @Nullable public String getState()
      State of the container. This depends on the container runtime.
      Returns:
      state
    • setState

      public void setState(String state)
    • tags

      public ContainerAttributes tags(List<String> tags)
    • addTagsItem

      public ContainerAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      List of tags associated with the container.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • putAdditionalProperty

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