Class AssessmentTarget
- java.lang.Object
-
- com.amazonaws.services.inspector.model.AssessmentTarget
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AssessmentTarget extends Object implements Serializable, Cloneable
Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssessmentTarget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssessmentTarget
clone()
boolean
equals(Object obj)
String
getArn()
The ARN that specifies the Amazon Inspector assessment target.Date
getCreatedAt()
The time at which the assessment target is created.String
getName()
The name of the Amazon Inspector assessment target.String
getResourceGroupArn()
The ARN that specifies the resource group that is associated with the assessment target.Date
getUpdatedAt()
The time at which UpdateAssessmentTarget is called.int
hashCode()
void
setArn(String arn)
The ARN that specifies the Amazon Inspector assessment target.void
setCreatedAt(Date createdAt)
The time at which the assessment target is created.void
setName(String name)
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.AssessmentTarget
withArn(String arn)
The ARN that specifies the Amazon Inspector assessment target.AssessmentTarget
withCreatedAt(Date createdAt)
The time at which the assessment target is created.AssessmentTarget
withName(String name)
The name of the Amazon Inspector assessment target.AssessmentTarget
withResourceGroupArn(String resourceGroupArn)
The ARN that specifies the resource group that is associated with the assessment target.AssessmentTarget
withUpdatedAt(Date updatedAt)
The time at which UpdateAssessmentTarget is called.
-
-
-
Method Detail
-
setArn
public void setArn(String arn)
The ARN that specifies the Amazon Inspector assessment target.
- Parameters:
arn
- The ARN that specifies the Amazon Inspector assessment target.
-
getArn
public String getArn()
The ARN that specifies the Amazon Inspector assessment target.
- Returns:
- The ARN that specifies the Amazon Inspector assessment target.
-
withArn
public AssessmentTarget withArn(String arn)
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
public void setName(String name)
The name of the Amazon Inspector assessment target.
- Parameters:
name
- The name of the Amazon Inspector assessment target.
-
getName
public String getName()
The name of the Amazon Inspector assessment target.
- Returns:
- The name of the Amazon Inspector assessment target.
-
withName
public AssessmentTarget withName(String name)
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
public void setResourceGroupArn(String resourceGroupArn)
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
public String 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
public AssessmentTarget withResourceGroupArn(String resourceGroupArn)
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
public void setCreatedAt(Date createdAt)
The time at which the assessment target is created.
- Parameters:
createdAt
- The time at which the assessment target is created.
-
getCreatedAt
public Date getCreatedAt()
The time at which the assessment target is created.
- Returns:
- The time at which the assessment target is created.
-
withCreatedAt
public AssessmentTarget withCreatedAt(Date createdAt)
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
public void setUpdatedAt(Date updatedAt)
The time at which UpdateAssessmentTarget is called.
- Parameters:
updatedAt
- The time at which UpdateAssessmentTarget is called.
-
getUpdatedAt
public Date getUpdatedAt()
The time at which UpdateAssessmentTarget is called.
- Returns:
- The time at which UpdateAssessmentTarget is called.
-
withUpdatedAt
public AssessmentTarget withUpdatedAt(Date updatedAt)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AssessmentTarget clone()
-
-