Class AwsOnDemandAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AwsOnDemandAttributes extends Object
Attributes for the AWS on demand task.
  • Field Details

  • Constructor Details

    • AwsOnDemandAttributes

      public AwsOnDemandAttributes()
  • Method Details

    • arn

      public AwsOnDemandAttributes arn(String arn)
    • getArn

      @Nullable public String getArn()
      The arn of the resource to scan.
      Returns:
      arn
    • setArn

      public void setArn(String arn)
    • assignedAt

      public AwsOnDemandAttributes assignedAt(String assignedAt)
    • getAssignedAt

      @Nullable public String getAssignedAt()
      Specifies the assignment timestamp if the task has been already assigned to a scanner.
      Returns:
      assignedAt
    • setAssignedAt

      public void setAssignedAt(String assignedAt)
    • createdAt

      public AwsOnDemandAttributes createdAt(String createdAt)
    • getCreatedAt

      @Nullable public String getCreatedAt()
      The task submission timestamp.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(String createdAt)
    • status

      public AwsOnDemandAttributes status(String status)
    • getStatus

      @Nullable public String getStatus()
      Indicates the status of the task. QUEUED: the task has been submitted successfully and the resource has not been assigned to a scanner yet. ASSIGNED: the task has been assigned. ABORTED: the scan has been aborted after a period of time due to technical reasons, such as resource not found, insufficient permissions, or the absence of a configured scanner.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • putAdditionalProperty

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