@Generated(value="software.amazon.awssdk:codegen") public final class Delegation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Delegation.Builder,Delegation>
The assignment of a control set to a delegate for review.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Delegation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assessmentId()
The identifier for the assessment that's associated with the delegation.
|
String |
assessmentName()
The name of the assessment that's associated with the delegation.
|
static Delegation.Builder |
builder() |
String |
comment()
The comment that's related to the delegation.
|
String |
controlSetId()
The identifier for the control set that's associated with the delegation.
|
String |
createdBy()
The IAM user or role that created the delegation.
|
Instant |
creationTime()
Specifies when the delegation was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the delegation.
|
Instant |
lastUpdated()
Specifies when the delegation was last updated.
|
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 Delegation.Builder> |
serializableBuilderClass() |
DelegationStatus |
status()
The status of the delegation.
|
String |
statusAsString()
The status of the delegation.
|
Delegation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique identifier for the delegation.
public final String assessmentName()
The name of the assessment that's associated with the delegation.
public final String assessmentId()
The identifier for the assessment that's associated with the delegation.
public final DelegationStatus status()
The status of the delegation.
If the service returns an enum value that is not available in the current SDK version, status will
return DelegationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DelegationStatuspublic final String statusAsString()
The status of the delegation.
If the service returns an enum value that is not available in the current SDK version, status will
return DelegationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DelegationStatuspublic 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 final Instant creationTime()
Specifies when the delegation was created.
public final Instant lastUpdated()
Specifies when the delegation was last updated.
public final String controlSetId()
The identifier for the control set that's associated with the delegation.
public final String comment()
The comment that's related to the delegation.
public final String createdBy()
The IAM user or role that created the delegation.
public Delegation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Delegation.Builder,Delegation>public static Delegation.Builder builder()
public static Class<? extends Delegation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.