Interface Delegation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Delegation.Builder,Delegation>,SdkBuilder<Delegation.Builder,Delegation>,SdkPojo
- Enclosing class:
- Delegation
public static interface Delegation.Builder extends SdkPojo, CopyableBuilder<Delegation.Builder,Delegation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Delegation.BuilderassessmentId(String assessmentId)The identifier for the assessment that's associated with the delegation.Delegation.BuilderassessmentName(String assessmentName)The name of the assessment that's associated with the delegation.Delegation.Buildercomment(String comment)The comment that's related to the delegation.Delegation.BuildercontrolSetId(String controlSetId)The identifier for the control set that's associated with the delegation.Delegation.BuildercreatedBy(String createdBy)The user or role that created the delegation.Delegation.BuildercreationTime(Instant creationTime)Specifies when the delegation was created.Delegation.Builderid(String id)The unique identifier for the delegation.Delegation.BuilderlastUpdated(Instant lastUpdated)Specifies when the delegation was last updated.Delegation.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM role.Delegation.BuilderroleType(String roleType)The type of customer persona.Delegation.BuilderroleType(RoleType roleType)The type of customer persona.Delegation.Builderstatus(String status)The status of the delegation.Delegation.Builderstatus(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 Detail
-
id
Delegation.Builder id(String 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
Delegation.Builder assessmentName(String 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
Delegation.Builder assessmentId(String 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
Delegation.Builder status(String 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:
DelegationStatus,DelegationStatus
-
status
Delegation.Builder status(DelegationStatus 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:
DelegationStatus,DelegationStatus
-
roleArn
Delegation.Builder roleArn(String 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
Delegation.Builder roleType(String roleType)
The type of customer persona.
In
CreateAssessment,roleTypecan only bePROCESS_OWNER.In
UpdateSettings,roleTypecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,roleTypecan only beRESOURCE_OWNER.- Parameters:
roleType- The type of customer persona.In
CreateAssessment,roleTypecan only bePROCESS_OWNER.In
UpdateSettings,roleTypecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,roleTypecan only beRESOURCE_OWNER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RoleType,RoleType
-
roleType
Delegation.Builder roleType(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.- Parameters:
roleType- The type of customer persona.In
CreateAssessment,roleTypecan only bePROCESS_OWNER.In
UpdateSettings,roleTypecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,roleTypecan only beRESOURCE_OWNER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RoleType,RoleType
-
creationTime
Delegation.Builder creationTime(Instant 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
Delegation.Builder lastUpdated(Instant 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
Delegation.Builder controlSetId(String 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
Delegation.Builder comment(String 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
Delegation.Builder createdBy(String 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.
-
-