Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignedAt(String assignedAt) booleanReturn true if this AwsOnDemandAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getArn()The arn of the resource to scan.Specifies the assignment timestamp if the task has been already assigned to a scanner.The task submission timestamp.Indicates the status of the task.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetAssignedAt(String assignedAt) voidsetCreatedAt(String createdAt) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ARN
- See Also:
-
JSON_PROPERTY_ASSIGNED_AT
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
AwsOnDemandAttributes
public AwsOnDemandAttributes()
-
-
Method Details
-
arn
-
getArn
The arn of the resource to scan.- Returns:
- arn
-
setArn
-
assignedAt
-
getAssignedAt
Specifies the assignment timestamp if the task has been already assigned to a scanner.- Returns:
- assignedAt
-
setAssignedAt
-
createdAt
-
getCreatedAt
The task submission timestamp.- Returns:
- createdAt
-
setCreatedAt
-
status
-
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
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- AwsOnDemandAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this AwsOnDemandAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-