@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The metadata that's associated with the specified assessment.
Constructor and Description |
---|
AssessmentMetadata() |
Modifier and Type | Method and Description |
---|---|
AssessmentMetadata |
clone() |
boolean |
equals(Object obj) |
AssessmentReportsDestination |
getAssessmentReportsDestination()
The destination that evidence reports are stored in for the assessment.
|
String |
getComplianceType()
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
|
Date |
getCreationTime()
Specifies when the assessment was created.
|
List<Delegation> |
getDelegations()
The delegations that are associated with the assessment.
|
String |
getDescription()
The description of the assessment.
|
String |
getId()
The unique identifier for the assessment.
|
Date |
getLastUpdated()
The time of the most recent update.
|
String |
getName()
The name of the assessment.
|
List<Role> |
getRoles()
The roles that are associated with the assessment.
|
Scope |
getScope()
The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.
|
String |
getStatus()
The overall status of the assessment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The destination that evidence reports are stored in for the assessment.
|
void |
setComplianceType(String complianceType)
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
|
void |
setCreationTime(Date creationTime)
Specifies when the assessment was created.
|
void |
setDelegations(Collection<Delegation> delegations)
The delegations that are associated with the assessment.
|
void |
setDescription(String description)
The description of the assessment.
|
void |
setId(String id)
The unique identifier for the assessment.
|
void |
setLastUpdated(Date lastUpdated)
The time of the most recent update.
|
void |
setName(String name)
The name of the assessment.
|
void |
setRoles(Collection<Role> roles)
The roles that are associated with the assessment.
|
void |
setScope(Scope scope)
The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.
|
void |
setStatus(String status)
The overall status of the assessment.
|
String |
toString()
Returns a string representation of this object.
|
AssessmentMetadata |
withAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The destination that evidence reports are stored in for the assessment.
|
AssessmentMetadata |
withComplianceType(String complianceType)
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
|
AssessmentMetadata |
withCreationTime(Date creationTime)
Specifies when the assessment was created.
|
AssessmentMetadata |
withDelegations(Collection<Delegation> delegations)
The delegations that are associated with the assessment.
|
AssessmentMetadata |
withDelegations(Delegation... delegations)
The delegations that are associated with the assessment.
|
AssessmentMetadata |
withDescription(String description)
The description of the assessment.
|
AssessmentMetadata |
withId(String id)
The unique identifier for the assessment.
|
AssessmentMetadata |
withLastUpdated(Date lastUpdated)
The time of the most recent update.
|
AssessmentMetadata |
withName(String name)
The name of the assessment.
|
AssessmentMetadata |
withRoles(Collection<Role> roles)
The roles that are associated with the assessment.
|
AssessmentMetadata |
withRoles(Role... roles)
The roles that are associated with the assessment.
|
AssessmentMetadata |
withScope(Scope scope)
The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.
|
AssessmentMetadata |
withStatus(AssessmentStatus status)
The overall status of the assessment.
|
AssessmentMetadata |
withStatus(String status)
The overall status of the assessment.
|
public void setName(String name)
The name of the assessment.
name
- The name of the assessment.public String getName()
The name of the assessment.
public AssessmentMetadata withName(String name)
The name of the assessment.
name
- The name of the assessment.public void setId(String id)
The unique identifier for the assessment.
id
- The unique identifier for the assessment.public String getId()
The unique identifier for the assessment.
public AssessmentMetadata withId(String id)
The unique identifier for the assessment.
id
- The unique identifier for the assessment.public void setDescription(String description)
The description of the assessment.
description
- The description of the assessment.public String getDescription()
The description of the assessment.
public AssessmentMetadata withDescription(String description)
The description of the assessment.
description
- The description of the assessment.public void setComplianceType(String complianceType)
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
complianceType
- The name of the compliance standard that's related to the assessment, such as PCI-DSS.public String getComplianceType()
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
public AssessmentMetadata withComplianceType(String complianceType)
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
complianceType
- The name of the compliance standard that's related to the assessment, such as PCI-DSS.public void setStatus(String status)
The overall status of the assessment.
status
- The overall status of the assessment.AssessmentStatus
public String getStatus()
The overall status of the assessment.
AssessmentStatus
public AssessmentMetadata withStatus(String status)
The overall status of the assessment.
status
- The overall status of the assessment.AssessmentStatus
public AssessmentMetadata withStatus(AssessmentStatus status)
The overall status of the assessment.
status
- The overall status of the assessment.AssessmentStatus
public void setAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The destination that evidence reports are stored in for the assessment.
assessmentReportsDestination
- The destination that evidence reports are stored in for the assessment.public AssessmentReportsDestination getAssessmentReportsDestination()
The destination that evidence reports are stored in for the assessment.
public AssessmentMetadata withAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The destination that evidence reports are stored in for the assessment.
assessmentReportsDestination
- The destination that evidence reports are stored in for the assessment.public void setScope(Scope scope)
The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.
scope
- The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.public Scope getScope()
The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.
public AssessmentMetadata withScope(Scope scope)
The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.
scope
- The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.public List<Role> getRoles()
The roles that are associated with the assessment.
public void setRoles(Collection<Role> roles)
The roles that are associated with the assessment.
roles
- The roles that are associated with the assessment.public AssessmentMetadata withRoles(Role... roles)
The roles that are associated with the assessment.
NOTE: This method appends the values to the existing list (if any). Use
setRoles(java.util.Collection)
or withRoles(java.util.Collection)
if you want to override the
existing values.
roles
- The roles that are associated with the assessment.public AssessmentMetadata withRoles(Collection<Role> roles)
The roles that are associated with the assessment.
roles
- The roles that are associated with the assessment.public List<Delegation> getDelegations()
The delegations that are associated with the assessment.
public void setDelegations(Collection<Delegation> delegations)
The delegations that are associated with the assessment.
delegations
- The delegations that are associated with the assessment.public AssessmentMetadata withDelegations(Delegation... delegations)
The delegations that are associated with the assessment.
NOTE: This method appends the values to the existing list (if any). Use
setDelegations(java.util.Collection)
or withDelegations(java.util.Collection)
if you want to
override the existing values.
delegations
- The delegations that are associated with the assessment.public AssessmentMetadata withDelegations(Collection<Delegation> delegations)
The delegations that are associated with the assessment.
delegations
- The delegations that are associated with the assessment.public void setCreationTime(Date creationTime)
Specifies when the assessment was created.
creationTime
- Specifies when the assessment was created.public Date getCreationTime()
Specifies when the assessment was created.
public AssessmentMetadata withCreationTime(Date creationTime)
Specifies when the assessment was created.
creationTime
- Specifies when the assessment was created.public void setLastUpdated(Date lastUpdated)
The time of the most recent update.
lastUpdated
- The time of the most recent update.public Date getLastUpdated()
The time of the most recent update.
public AssessmentMetadata withLastUpdated(Date lastUpdated)
The time of the most recent update.
lastUpdated
- The time of the most recent update.public String toString()
toString
in class Object
Object.toString()
public AssessmentMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.