@Generated(value="software.amazon.awssdk:codegen") public final class CreateDelegationRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateDelegationRequest.Builder,CreateDelegationRequest>
A collection of attributes that's used to create a delegation for an assessment in Audit Manager.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDelegationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateDelegationRequest.Builder |
builder() |
String |
comment()
A comment that's related to the delegation request.
|
String |
controlSetId()
The unique identifier for the control set.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleArn()
The Amazon Resource Name (ARN) of the IAM role.
|
RoleType |
roleType()
The type of customer persona.
|
String |
roleTypeAsString()
The type of customer persona.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDelegationRequest.Builder> |
serializableBuilderClass() |
CreateDelegationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String comment()
A comment that's related to the delegation request.
public final String controlSetId()
The unique identifier for the control set.
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM role.
public final 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.
If the service returns an enum value that is not available in the current SDK version, roleType will
return RoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleTypeAsString().
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 final String roleTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, roleType will
return RoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleTypeAsString().
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 CreateDelegationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDelegationRequest.Builder,CreateDelegationRequest>public static CreateDelegationRequest.Builder builder()
public static Class<? extends CreateDelegationRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.