Class AssessmentTarget
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The ARN that specifies the Amazon Inspector assessment target.The time at which the assessment target is created.getName()
The name of the Amazon Inspector assessment target.The ARN that specifies the resource group that is associated with the assessment target.The time at which UpdateAssessmentTarget is called.int
hashCode()
void
The ARN that specifies the Amazon Inspector assessment target.void
setCreatedAt
(Date createdAt) The time at which the assessment target is created.void
The name of the Amazon Inspector assessment target.void
setResourceGroupArn
(String resourceGroupArn) The ARN that specifies the resource group that is associated with the assessment target.void
setUpdatedAt
(Date updatedAt) The time at which UpdateAssessmentTarget is called.toString()
Returns a string representation of this object; useful for testing and debugging.The ARN that specifies the Amazon Inspector assessment target.withCreatedAt
(Date createdAt) The time at which the assessment target is created.The name of the Amazon Inspector assessment target.withResourceGroupArn
(String resourceGroupArn) The ARN that specifies the resource group that is associated with the assessment target.withUpdatedAt
(Date updatedAt) The time at which UpdateAssessmentTarget is called.
-
Constructor Details
-
AssessmentTarget
public AssessmentTarget()
-
-
Method Details
-
setArn
The ARN that specifies the Amazon Inspector assessment target.
- Parameters:
arn
- The ARN that specifies the Amazon Inspector assessment target.
-
getArn
The ARN that specifies the Amazon Inspector assessment target.
- Returns:
- The ARN that specifies the Amazon Inspector assessment target.
-
withArn
The ARN that specifies the Amazon Inspector assessment target.
- Parameters:
arn
- The ARN that specifies the Amazon Inspector assessment target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The name of the Amazon Inspector assessment target.
- Parameters:
name
- The name of the Amazon Inspector assessment target.
-
getName
The name of the Amazon Inspector assessment target.
- Returns:
- The name of the Amazon Inspector assessment target.
-
withName
The name of the Amazon Inspector assessment target.
- Parameters:
name
- The name of the Amazon Inspector assessment target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceGroupArn
The ARN that specifies the resource group that is associated with the assessment target.
- Parameters:
resourceGroupArn
- The ARN that specifies the resource group that is associated with the assessment target.
-
getResourceGroupArn
The ARN that specifies the resource group that is associated with the assessment target.
- Returns:
- The ARN that specifies the resource group that is associated with the assessment target.
-
withResourceGroupArn
The ARN that specifies the resource group that is associated with the assessment target.
- Parameters:
resourceGroupArn
- The ARN that specifies the resource group that is associated with the assessment target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedAt
The time at which the assessment target is created.
- Parameters:
createdAt
- The time at which the assessment target is created.
-
getCreatedAt
The time at which the assessment target is created.
- Returns:
- The time at which the assessment target is created.
-
withCreatedAt
The time at which the assessment target is created.
- Parameters:
createdAt
- The time at which the assessment target is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUpdatedAt
The time at which UpdateAssessmentTarget is called.
- Parameters:
updatedAt
- The time at which UpdateAssessmentTarget is called.
-
getUpdatedAt
The time at which UpdateAssessmentTarget is called.
- Returns:
- The time at which UpdateAssessmentTarget is called.
-
withUpdatedAt
The time at which UpdateAssessmentTarget is called.
- Parameters:
updatedAt
- The time at which UpdateAssessmentTarget is called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-