@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Assessment extends Object implements Serializable, Cloneable, StructuredPojo
An entity that defines the scope of audit evidence collected by Audit Manager. An Audit Manager assessment is an implementation of an Audit Manager framework.
Constructor and Description |
---|
Assessment() |
Modifier and Type | Method and Description |
---|---|
Assessment |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Assessment |
clearTagsEntries()
Removes all the entries added into Tags.
|
Assessment |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the assessment.
|
AWSAccount |
getAwsAccount()
The Amazon Web Services account that's associated with the assessment.
|
AssessmentFramework |
getFramework()
The framework that the assessment was created from.
|
AssessmentMetadata |
getMetadata()
The metadata for the assessment.
|
Map<String,String> |
getTags()
The tags that are associated with the assessment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the assessment.
|
void |
setAwsAccount(AWSAccount awsAccount)
The Amazon Web Services account that's associated with the assessment.
|
void |
setFramework(AssessmentFramework framework)
The framework that the assessment was created from.
|
void |
setMetadata(AssessmentMetadata metadata)
The metadata for the assessment.
|
void |
setTags(Map<String,String> tags)
The tags that are associated with the assessment.
|
String |
toString()
Returns a string representation of this object.
|
Assessment |
withArn(String arn)
The Amazon Resource Name (ARN) of the assessment.
|
Assessment |
withAwsAccount(AWSAccount awsAccount)
The Amazon Web Services account that's associated with the assessment.
|
Assessment |
withFramework(AssessmentFramework framework)
The framework that the assessment was created from.
|
Assessment |
withMetadata(AssessmentMetadata metadata)
The metadata for the assessment.
|
Assessment |
withTags(Map<String,String> tags)
The tags that are associated with the assessment.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the assessment.
arn
- The Amazon Resource Name (ARN) of the assessment.public String getArn()
The Amazon Resource Name (ARN) of the assessment.
public Assessment withArn(String arn)
The Amazon Resource Name (ARN) of the assessment.
arn
- The Amazon Resource Name (ARN) of the assessment.public void setAwsAccount(AWSAccount awsAccount)
The Amazon Web Services account that's associated with the assessment.
awsAccount
- The Amazon Web Services account that's associated with the assessment.public AWSAccount getAwsAccount()
The Amazon Web Services account that's associated with the assessment.
public Assessment withAwsAccount(AWSAccount awsAccount)
The Amazon Web Services account that's associated with the assessment.
awsAccount
- The Amazon Web Services account that's associated with the assessment.public void setMetadata(AssessmentMetadata metadata)
The metadata for the assessment.
metadata
- The metadata for the assessment.public AssessmentMetadata getMetadata()
The metadata for the assessment.
public Assessment withMetadata(AssessmentMetadata metadata)
The metadata for the assessment.
metadata
- The metadata for the assessment.public void setFramework(AssessmentFramework framework)
The framework that the assessment was created from.
framework
- The framework that the assessment was created from.public AssessmentFramework getFramework()
The framework that the assessment was created from.
public Assessment withFramework(AssessmentFramework framework)
The framework that the assessment was created from.
framework
- The framework that the assessment was created from.public Map<String,String> getTags()
The tags that are associated with the assessment.
public void setTags(Map<String,String> tags)
The tags that are associated with the assessment.
tags
- The tags that are associated with the assessment.public Assessment withTags(Map<String,String> tags)
The tags that are associated with the assessment.
tags
- The tags that are associated with the assessment.public Assessment addTagsEntry(String key, String value)
public Assessment clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public Assessment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.