@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Delegation extends Object implements Serializable, Cloneable, StructuredPojo
The assignment of a control set to a delegate for review.
Constructor and Description |
---|
Delegation() |
Modifier and Type | Method and Description |
---|---|
Delegation |
clone() |
boolean |
equals(Object obj) |
String |
getAssessmentId()
The identifier for the associated assessment.
|
String |
getAssessmentName()
The name of the associated assessment.
|
String |
getComment()
The comment related to the delegation.
|
String |
getControlSetId()
The identifier for the associated control set.
|
String |
getCreatedBy()
The IAM user or role that created the delegation.
|
Date |
getCreationTime()
Specifies when the delegation was created.
|
String |
getId()
The unique identifier for the delegation.
|
Date |
getLastUpdated()
Specifies when the delegation was last updated.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role.
|
String |
getRoleType()
The type of customer persona.
|
String |
getStatus()
The status of the delegation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssessmentId(String assessmentId)
The identifier for the associated assessment.
|
void |
setAssessmentName(String assessmentName)
The name of the associated assessment.
|
void |
setComment(String comment)
The comment related to the delegation.
|
void |
setControlSetId(String controlSetId)
The identifier for the associated control set.
|
void |
setCreatedBy(String createdBy)
The IAM user or role that created the delegation.
|
void |
setCreationTime(Date creationTime)
Specifies when the delegation was created.
|
void |
setId(String id)
The unique identifier for the delegation.
|
void |
setLastUpdated(Date lastUpdated)
Specifies when the delegation was last updated.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
void |
setRoleType(String roleType)
The type of customer persona.
|
void |
setStatus(String status)
The status of the delegation.
|
String |
toString()
Returns a string representation of this object.
|
Delegation |
withAssessmentId(String assessmentId)
The identifier for the associated assessment.
|
Delegation |
withAssessmentName(String assessmentName)
The name of the associated assessment.
|
Delegation |
withComment(String comment)
The comment related to the delegation.
|
Delegation |
withControlSetId(String controlSetId)
The identifier for the associated control set.
|
Delegation |
withCreatedBy(String createdBy)
The IAM user or role that created the delegation.
|
Delegation |
withCreationTime(Date creationTime)
Specifies when the delegation was created.
|
Delegation |
withId(String id)
The unique identifier for the delegation.
|
Delegation |
withLastUpdated(Date lastUpdated)
Specifies when the delegation was last updated.
|
Delegation |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
Delegation |
withRoleType(RoleType roleType)
The type of customer persona.
|
Delegation |
withRoleType(String roleType)
The type of customer persona.
|
Delegation |
withStatus(DelegationStatus status)
The status of the delegation.
|
Delegation |
withStatus(String status)
The status of the delegation.
|
public void setId(String id)
The unique identifier for the delegation.
id
- The unique identifier for the delegation.public String getId()
The unique identifier for the delegation.
public Delegation withId(String id)
The unique identifier for the delegation.
id
- The unique identifier for the delegation.public void setAssessmentName(String assessmentName)
The name of the associated assessment.
assessmentName
- The name of the associated assessment.public String getAssessmentName()
The name of the associated assessment.
public Delegation withAssessmentName(String assessmentName)
The name of the associated assessment.
assessmentName
- The name of the associated assessment.public void setAssessmentId(String assessmentId)
The identifier for the associated assessment.
assessmentId
- The identifier for the associated assessment.public String getAssessmentId()
The identifier for the associated assessment.
public Delegation withAssessmentId(String assessmentId)
The identifier for the associated assessment.
assessmentId
- The identifier for the associated assessment.public void setStatus(String status)
The status of the delegation.
status
- The status of the delegation.DelegationStatus
public String getStatus()
The status of the delegation.
DelegationStatus
public Delegation withStatus(String status)
The status of the delegation.
status
- The status of the delegation.DelegationStatus
public Delegation withStatus(DelegationStatus status)
The status of the delegation.
status
- The status of the delegation.DelegationStatus
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
roleArn
- The Amazon Resource Name (ARN) of the IAM role.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role.
public Delegation withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
roleArn
- The Amazon Resource Name (ARN) of the IAM role.public void setRoleType(String roleType)
The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be RESOURCE_OWNER
.
roleType
- The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be
RESOURCE_OWNER
.
RoleType
public String getRoleType()
The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be RESOURCE_OWNER
.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be
RESOURCE_OWNER
.
RoleType
public Delegation withRoleType(String roleType)
The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be RESOURCE_OWNER
.
roleType
- The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be
RESOURCE_OWNER
.
RoleType
public Delegation withRoleType(RoleType roleType)
The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be RESOURCE_OWNER
.
roleType
- The type of customer persona.
In CreateAssessment
, roleType
can only be PROCESS_OWNER
.
In UpdateSettings
, roleType
can only be PROCESS_OWNER
.
In BatchCreateDelegationByAssessment
, roleType
can only be
RESOURCE_OWNER
.
RoleType
public void setCreationTime(Date creationTime)
Specifies when the delegation was created.
creationTime
- Specifies when the delegation was created.public Date getCreationTime()
Specifies when the delegation was created.
public Delegation withCreationTime(Date creationTime)
Specifies when the delegation was created.
creationTime
- Specifies when the delegation was created.public void setLastUpdated(Date lastUpdated)
Specifies when the delegation was last updated.
lastUpdated
- Specifies when the delegation was last updated.public Date getLastUpdated()
Specifies when the delegation was last updated.
public Delegation withLastUpdated(Date lastUpdated)
Specifies when the delegation was last updated.
lastUpdated
- Specifies when the delegation was last updated.public void setControlSetId(String controlSetId)
The identifier for the associated control set.
controlSetId
- The identifier for the associated control set.public String getControlSetId()
The identifier for the associated control set.
public Delegation withControlSetId(String controlSetId)
The identifier for the associated control set.
controlSetId
- The identifier for the associated control set.public void setComment(String comment)
The comment related to the delegation.
comment
- The comment related to the delegation.public String getComment()
The comment related to the delegation.
public Delegation withComment(String comment)
The comment related to the delegation.
comment
- The comment related to the delegation.public void setCreatedBy(String createdBy)
The IAM user or role that created the delegation.
createdBy
- The IAM user or role that created the delegation.public String getCreatedBy()
The IAM user or role that created the delegation.
public Delegation withCreatedBy(String createdBy)
The IAM user or role that created the delegation.
createdBy
- The IAM user or role that created the delegation.public String toString()
toString
in class Object
Object.toString()
public Delegation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.