Interface Delegation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Delegation.Builder,
,Delegation> SdkBuilder<Delegation.Builder,
,Delegation> SdkPojo
- Enclosing class:
Delegation
-
Method Summary
Modifier and TypeMethodDescriptionassessmentId
(String assessmentId) The identifier for the assessment that's associated with the delegation.assessmentName
(String assessmentName) The name of the assessment that's associated with the delegation.The comment that's related to the delegation.controlSetId
(String controlSetId) The identifier for the control set that's associated with the delegation.The user or role that created the delegation.creationTime
(Instant creationTime) Specifies when the delegation was created.The unique identifier for the delegation.lastUpdated
(Instant lastUpdated) Specifies when the delegation was last updated.The Amazon Resource Name (ARN) of the IAM role.The type of customer persona.The type of customer persona.The status of the delegation.status
(DelegationStatus status) The status of the delegation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The unique identifier for the delegation.
- Parameters:
id
- The unique identifier for the delegation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentName
The name of the assessment that's associated with the delegation.
- Parameters:
assessmentName
- The name of the assessment that's associated with the delegation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentId
The identifier for the assessment that's associated with the delegation.
- Parameters:
assessmentId
- The identifier for the assessment that's associated with the delegation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the delegation.
- Parameters:
status
- The status of the delegation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the delegation.
- Parameters:
status
- The status of the delegation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleType
The type of customer persona.
In
CreateAssessment
,roleType
can only bePROCESS_OWNER
.In
UpdateSettings
,roleType
can only bePROCESS_OWNER
.In
BatchCreateDelegationByAssessment
,roleType
can only beRESOURCE_OWNER
.- Parameters:
roleType
- The type of customer persona.In
CreateAssessment
,roleType
can only bePROCESS_OWNER
.In
UpdateSettings
,roleType
can only bePROCESS_OWNER
.In
BatchCreateDelegationByAssessment
,roleType
can only beRESOURCE_OWNER
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleType
The type of customer persona.
In
CreateAssessment
,roleType
can only bePROCESS_OWNER
.In
UpdateSettings
,roleType
can only bePROCESS_OWNER
.In
BatchCreateDelegationByAssessment
,roleType
can only beRESOURCE_OWNER
.- Parameters:
roleType
- The type of customer persona.In
CreateAssessment
,roleType
can only bePROCESS_OWNER
.In
UpdateSettings
,roleType
can only bePROCESS_OWNER
.In
BatchCreateDelegationByAssessment
,roleType
can only beRESOURCE_OWNER
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
Specifies when the delegation was created.
- Parameters:
creationTime
- Specifies when the delegation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdated
Specifies when the delegation was last updated.
- Parameters:
lastUpdated
- Specifies when the delegation was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlSetId
The identifier for the control set that's associated with the delegation.
- Parameters:
controlSetId
- The identifier for the control set that's associated with the delegation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
The comment that's related to the delegation.
- Parameters:
comment
- The comment that's related to the delegation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The user or role that created the delegation.
- Parameters:
createdBy
- The user or role that created the delegation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-