@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentTarget extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action.
Constructor and Description |
---|
AssessmentTarget() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
public void setArn(String arn)
The ARN that specifies the Amazon Inspector assessment target.
arn
- The ARN that specifies the Amazon Inspector assessment target.public String getArn()
The ARN that specifies the Amazon Inspector assessment target.
public AssessmentTarget withArn(String arn)
The ARN that specifies the Amazon Inspector assessment target.
arn
- The ARN that specifies the Amazon Inspector assessment target.public void setName(String name)
The name of the Amazon Inspector assessment target.
name
- The name of the Amazon Inspector assessment target.public String getName()
The name of the Amazon Inspector assessment target.
public AssessmentTarget withName(String name)
The name of the Amazon Inspector assessment target.
name
- The name of the Amazon Inspector assessment target.public void setResourceGroupArn(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 String getResourceGroupArn()
The ARN that specifies the resource group that is associated with the assessment target.
public AssessmentTarget withResourceGroupArn(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(Date createdAt)
The time at which the assessment target is created.
createdAt
- The time at which the assessment target is created.public Date getCreatedAt()
The time at which the assessment target is created.
public AssessmentTarget withCreatedAt(Date createdAt)
The time at which the assessment target is created.
createdAt
- The time at which the assessment target is created.public void setUpdatedAt(Date updatedAt)
The time at which UpdateAssessmentTarget is called.
updatedAt
- The time at which UpdateAssessmentTarget is called.public Date getUpdatedAt()
The time at which UpdateAssessmentTarget is called.
public AssessmentTarget withUpdatedAt(Date updatedAt)
The time at which UpdateAssessmentTarget is called.
updatedAt
- The time at which UpdateAssessmentTarget is called.public String toString()
toString
in class Object
Object.toString()
public AssessmentTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.