@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Role extends Object implements Serializable, Cloneable, StructuredPojo
The wrapper that contains the Audit Manager role information of the current user. This includes the role type and IAM Amazon Resource Name (ARN).
| Constructor and Description |
|---|
Role() |
| Modifier and Type | Method and Description |
|---|---|
Role |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role.
|
String |
getRoleType()
The type of customer persona.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
void |
setRoleType(String roleType)
The type of customer persona.
|
String |
toString()
Returns a string representation of this object.
|
Role |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
Role |
withRoleType(RoleType roleType)
The type of customer persona.
|
Role |
withRoleType(String roleType)
The type of customer persona.
|
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.
RoleTypepublic 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.
RoleTypepublic Role 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.
RoleTypepublic Role 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.
RoleTypepublic 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 Role withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
roleArn - The Amazon Resource Name (ARN) of the IAM role.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.