@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 AWS Audit Manager. An AWS Audit Manager assessment is an implementation of an AWS 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 AWS account associated with the assessment.
|
AssessmentFramework |
getFramework()
The framework from which the assessment was created.
|
AssessmentMetadata |
getMetadata()
The metadata for the specified assessment.
|
Map<String,String> |
getTags()
The tags 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 AWS account associated with the assessment.
|
void |
setFramework(AssessmentFramework framework)
The framework from which the assessment was created.
|
void |
setMetadata(AssessmentMetadata metadata)
The metadata for the specified assessment.
|
void |
setTags(Map<String,String> tags)
The tags 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 AWS account associated with the assessment.
|
Assessment |
withFramework(AssessmentFramework framework)
The framework from which the assessment was created.
|
Assessment |
withMetadata(AssessmentMetadata metadata)
The metadata for the specified assessment.
|
Assessment |
withTags(Map<String,String> tags)
The tags 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 AWS account associated with the assessment.
awsAccount
- The AWS account associated with the assessment.public AWSAccount getAwsAccount()
The AWS account associated with the assessment.
public Assessment withAwsAccount(AWSAccount awsAccount)
The AWS account associated with the assessment.
awsAccount
- The AWS account associated with the assessment.public void setMetadata(AssessmentMetadata metadata)
The metadata for the specified assessment.
metadata
- The metadata for the specified assessment.public AssessmentMetadata getMetadata()
The metadata for the specified assessment.
public Assessment withMetadata(AssessmentMetadata metadata)
The metadata for the specified assessment.
metadata
- The metadata for the specified assessment.public void setFramework(AssessmentFramework framework)
The framework from which the assessment was created.
framework
- The framework from which the assessment was created.public AssessmentFramework getFramework()
The framework from which the assessment was created.
public Assessment withFramework(AssessmentFramework framework)
The framework from which the assessment was created.
framework
- The framework from which the assessment was created.public Map<String,String> getTags()
The tags associated with the assessment.
public void setTags(Map<String,String> tags)
The tags associated with the assessment.
tags
- The tags associated with the assessment.public Assessment withTags(Map<String,String> tags)
The tags associated with the assessment.
tags
- The tags 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.