@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentMetadataItem extends Object implements Serializable, Cloneable, StructuredPojo
A metadata object that's associated with an assessment in Audit Manager.
Constructor and Description |
---|
AssessmentMetadataItem() |
Modifier and Type | Method and Description |
---|---|
AssessmentMetadataItem |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
String |
getStatus()
The current status of the assessment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
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 |
setStatus(String status)
The current status of the assessment.
|
String |
toString()
Returns a string representation of this object.
|
AssessmentMetadataItem |
withComplianceType(String complianceType)
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
|
AssessmentMetadataItem |
withCreationTime(Date creationTime)
Specifies when the assessment was created.
|
AssessmentMetadataItem |
withDelegations(Collection<Delegation> delegations)
The delegations that are associated with the assessment.
|
AssessmentMetadataItem |
withDelegations(Delegation... delegations)
The delegations that are associated with the assessment.
|
AssessmentMetadataItem |
withId(String id)
The unique identifier for the assessment.
|
AssessmentMetadataItem |
withLastUpdated(Date lastUpdated)
The time of the most recent update.
|
AssessmentMetadataItem |
withName(String name)
The name of the assessment.
|
AssessmentMetadataItem |
withRoles(Collection<Role> roles)
The roles that are associated with the assessment.
|
AssessmentMetadataItem |
withRoles(Role... roles)
The roles that are associated with the assessment.
|
AssessmentMetadataItem |
withStatus(AssessmentStatus status)
The current status of the assessment.
|
AssessmentMetadataItem |
withStatus(String status)
The current 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 AssessmentMetadataItem 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 AssessmentMetadataItem withId(String id)
The unique identifier for the assessment.
id
- The unique identifier for 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 AssessmentMetadataItem 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 current status of the assessment.
status
- The current status of the assessment.AssessmentStatus
public String getStatus()
The current status of the assessment.
AssessmentStatus
public AssessmentMetadataItem withStatus(String status)
The current status of the assessment.
status
- The current status of the assessment.AssessmentStatus
public AssessmentMetadataItem withStatus(AssessmentStatus status)
The current status of the assessment.
status
- The current status of the assessment.AssessmentStatus
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 AssessmentMetadataItem 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 AssessmentMetadataItem 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 AssessmentMetadataItem 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 AssessmentMetadataItem 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 AssessmentMetadataItem 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 AssessmentMetadataItem 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 AssessmentMetadataItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.