Class SyntheticsPrivateLocation

java.lang.Object
com.datadog.api.client.v1.model.SyntheticsPrivateLocation

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsPrivateLocation extends Object
Object containing information about the private location to create.
  • Field Details

  • Constructor Details

    • SyntheticsPrivateLocation

      public SyntheticsPrivateLocation()
    • SyntheticsPrivateLocation

      public SyntheticsPrivateLocation(String description, String name, List<String> tags)
  • Method Details

    • description

      public SyntheticsPrivateLocation description(String description)
    • getDescription

      public String getDescription()
      Description of the private location.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • getId

      @Nullable public String getId()
      Unique identifier of the private location.
      Returns:
      id
    • metadata

    • getMetadata

      @Nullable public SyntheticsPrivateLocationMetadata getMetadata()
      Object containing metadata about the private location.
      Returns:
      metadata
    • setMetadata

      public void setMetadata(SyntheticsPrivateLocationMetadata metadata)
    • name

      public SyntheticsPrivateLocation name(String name)
    • getName

      public String getName()
      Name of the private location.
      Returns:
      name
    • setName

      public void setName(String name)
    • getSecrets

      @Nullable public SyntheticsPrivateLocationSecrets getSecrets()
      Secrets for the private location. Only present in the response when creating the private location.
      Returns:
      secrets
    • tags

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

      public SyntheticsPrivateLocation addTagsItem(String tagsItem)
    • getTags

      public List<String> getTags()
      Array of tags attached to the private location.
      Returns:
      tags
    • setTags

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

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