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 AssessmentTargetclone()booleanequals(Object obj)StringgetArn()The ARN that specifies the Amazon Inspector assessment target.DategetCreatedAt()The time at which the assessment target is created.StringgetName()The name of the Amazon Inspector assessment target.StringgetResourceGroupArn()The ARN that specifies the resource group that is associated with the assessment target.DategetUpdatedAt()The time at which UpdateAssessmentTarget is called.inthashCode()voidsetArn(String arn)The ARN that specifies the Amazon Inspector assessment target.voidsetCreatedAt(Date createdAt)The time at which the assessment target is created.voidsetName(String name)The name of the Amazon Inspector assessment target.voidsetResourceGroupArn(String resourceGroupArn)The ARN that specifies the resource group that is associated with the assessment target.voidsetUpdatedAt(Date updatedAt)The time at which UpdateAssessmentTarget is called.StringtoString()Returns a string representation of this object; useful for testing and debugging.AssessmentTargetwithArn(String arn)The ARN that specifies the Amazon Inspector assessment target.AssessmentTargetwithCreatedAt(Date createdAt)The time at which the assessment target is created.AssessmentTargetwithName(String name)The name of the Amazon Inspector assessment target.AssessmentTargetwithResourceGroupArn(String resourceGroupArn)The ARN that specifies the resource group that is associated with the assessment target.AssessmentTargetwithUpdatedAt(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AssessmentTarget clone()
-
-