public class AssessmentTarget
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
arn
The ARN that specifies the Amazon Inspector assessment target.
|
private java.util.Date |
createdAt
The time at which the assessment target is created.
|
private java.lang.String |
name
The name of the Amazon Inspector assessment target.
|
private java.lang.String |
resourceGroupArn
The ARN that specifies the resource group that is associated with the
assessment target.
|
private java.util.Date |
updatedAt
The time at which UpdateAssessmentTarget is called.
|
Constructor and Description |
---|
AssessmentTarget() |
Modifier and Type | Method and Description |
---|---|
AssessmentTarget |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The ARN that specifies the Amazon Inspector assessment target.
|
java.util.Date |
getCreatedAt()
The time at which the assessment target is created.
|
java.lang.String |
getName()
The name of the Amazon Inspector assessment target.
|
java.lang.String |
getResourceGroupArn()
The ARN that specifies the resource group that is associated with the
assessment target.
|
java.util.Date |
getUpdatedAt()
The time at which UpdateAssessmentTarget is called.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The ARN that specifies the Amazon Inspector assessment target.
|
void |
setCreatedAt(java.util.Date createdAt)
The time at which the assessment target is created.
|
void |
setName(java.lang.String name)
The name of the Amazon Inspector assessment target.
|
void |
setResourceGroupArn(java.lang.String resourceGroupArn)
The ARN that specifies the resource group that is associated with the
assessment target.
|
void |
setUpdatedAt(java.util.Date updatedAt)
The time at which UpdateAssessmentTarget is called.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssessmentTarget |
withArn(java.lang.String arn)
The ARN that specifies the Amazon Inspector assessment target.
|
AssessmentTarget |
withCreatedAt(java.util.Date createdAt)
The time at which the assessment target is created.
|
AssessmentTarget |
withName(java.lang.String name)
The name of the Amazon Inspector assessment target.
|
AssessmentTarget |
withResourceGroupArn(java.lang.String resourceGroupArn)
The ARN that specifies the resource group that is associated with the
assessment target.
|
AssessmentTarget |
withUpdatedAt(java.util.Date updatedAt)
The time at which UpdateAssessmentTarget is called.
|
private java.lang.String arn
The ARN that specifies the Amazon Inspector assessment target.
private java.lang.String name
The name of the Amazon Inspector assessment target.
private java.lang.String resourceGroupArn
The ARN that specifies the resource group that is associated with the assessment target.
private java.util.Date createdAt
The time at which the assessment target is created.
private java.util.Date updatedAt
The time at which UpdateAssessmentTarget is called.
public void setArn(java.lang.String arn)
The ARN that specifies the Amazon Inspector assessment target.
arn
- The ARN that specifies the Amazon Inspector assessment target.public java.lang.String getArn()
The ARN that specifies the Amazon Inspector assessment target.
public AssessmentTarget withArn(java.lang.String arn)
The ARN that specifies the Amazon Inspector assessment target.
arn
- The ARN that specifies the Amazon Inspector assessment target.public void setName(java.lang.String name)
The name of the Amazon Inspector assessment target.
name
- The name of the Amazon Inspector assessment target.public java.lang.String getName()
The name of the Amazon Inspector assessment target.
public AssessmentTarget withName(java.lang.String name)
The name of the Amazon Inspector assessment target.
name
- The name of the Amazon Inspector assessment target.public void setResourceGroupArn(java.lang.String resourceGroupArn)
The ARN that specifies the resource group that is associated with the assessment target.
resourceGroupArn
- The ARN that specifies the resource group that is associated with
the assessment target.public java.lang.String getResourceGroupArn()
The ARN that specifies the resource group that is associated with the assessment target.
public AssessmentTarget withResourceGroupArn(java.lang.String resourceGroupArn)
The ARN that specifies the resource group that is associated with the assessment target.
resourceGroupArn
- The ARN that specifies the resource group that is associated with
the assessment target.public void setCreatedAt(java.util.Date createdAt)
The time at which the assessment target is created.
createdAt
- The time at which the assessment target is created.public java.util.Date getCreatedAt()
The time at which the assessment target is created.
public AssessmentTarget withCreatedAt(java.util.Date createdAt)
The time at which the assessment target is created.
createdAt
- The time at which the assessment target is created.public void setUpdatedAt(java.util.Date updatedAt)
The time at which UpdateAssessmentTarget is called.
updatedAt
- The time at which UpdateAssessmentTarget is called.public java.util.Date getUpdatedAt()
The time at which UpdateAssessmentTarget is called.
public AssessmentTarget withUpdatedAt(java.util.Date updatedAt)
The time at which UpdateAssessmentTarget is called.
updatedAt
- The time at which UpdateAssessmentTarget is called.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AssessmentTarget clone()
clone
in class java.lang.Object