@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDelegationRequest extends Object implements Serializable, Cloneable, StructuredPojo
A collection of attributes that's used to create a delegation for an assessment in Audit Manager.
Constructor and Description |
---|
CreateDelegationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDelegationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
A comment that's related to the delegation request.
|
String |
getControlSetId()
The unique identifier for the control set.
|
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 |
setComment(String comment)
A comment that's related to the delegation request.
|
void |
setControlSetId(String controlSetId)
The unique identifier for the control set.
|
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.
|
CreateDelegationRequest |
withComment(String comment)
A comment that's related to the delegation request.
|
CreateDelegationRequest |
withControlSetId(String controlSetId)
The unique identifier for the control set.
|
CreateDelegationRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
CreateDelegationRequest |
withRoleType(RoleType roleType)
The type of customer persona.
|
CreateDelegationRequest |
withRoleType(String roleType)
The type of customer persona.
|
public void setComment(String comment)
A comment that's related to the delegation request.
comment
- A comment that's related to the delegation request.public String getComment()
A comment that's related to the delegation request.
public CreateDelegationRequest withComment(String comment)
A comment that's related to the delegation request.
comment
- A comment that's related to the delegation request.public void setControlSetId(String controlSetId)
The unique identifier for the control set.
controlSetId
- The unique identifier for the control set.public String getControlSetId()
The unique identifier for the control set.
public CreateDelegationRequest withControlSetId(String controlSetId)
The unique identifier for the control set.
controlSetId
- The unique identifier for the control set.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 CreateDelegationRequest 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 CreateDelegationRequest 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 CreateDelegationRequest 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 String toString()
toString
in class Object
Object.toString()
public CreateDelegationRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.