Class CreateDelegationRequest
- java.lang.Object
-
- software.amazon.awssdk.services.auditmanager.model.CreateDelegationRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CreateDelegationRequest.Builder,CreateDelegationRequest>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateDelegationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDelegationRequest.Builderbuilder()Stringcomment()A comment that's related to the delegation request.StringcontrolSetId()The unique identifier for the control set.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringroleArn()The Amazon Resource Name (ARN) of the IAM role.RoleTyperoleType()The type of customer persona.StringroleTypeAsString()The type of customer persona.List<SdkField<?>>sdkFields()static Class<? extends CreateDelegationRequest.Builder>serializableBuilderClass()CreateDelegationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
comment
public final String comment()
A comment that's related to the delegation request.
- Returns:
- A comment that's related to the delegation request.
-
controlSetId
public final String controlSetId()
The unique identifier for the control set.
- Returns:
- The unique identifier for the control set.
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM role.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role.
-
roleType
public final RoleType roleType()
The type of customer persona.
In
CreateAssessment,roleTypecan only bePROCESS_OWNER.In
UpdateSettings,roleTypecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,roleTypecan only beRESOURCE_OWNER.If the service returns an enum value that is not available in the current SDK version,
roleTypewill returnRoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleTypeAsString().- Returns:
- The type of customer persona.
In
CreateAssessment,roleTypecan only bePROCESS_OWNER.In
UpdateSettings,roleTypecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,roleTypecan only beRESOURCE_OWNER. - See Also:
RoleType
-
roleTypeAsString
public final String roleTypeAsString()
The type of customer persona.
In
CreateAssessment,roleTypecan only bePROCESS_OWNER.In
UpdateSettings,roleTypecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,roleTypecan only beRESOURCE_OWNER.If the service returns an enum value that is not available in the current SDK version,
roleTypewill returnRoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleTypeAsString().- Returns:
- The type of customer persona.
In
CreateAssessment,roleTypecan only bePROCESS_OWNER.In
UpdateSettings,roleTypecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,roleTypecan only beRESOURCE_OWNER. - See Also:
RoleType
-
toBuilder
public CreateDelegationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateDelegationRequest.Builder,CreateDelegationRequest>
-
builder
public static CreateDelegationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateDelegationRequest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-