Interface Approval.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Approval.Builder,Approval>,SdkBuilder<Approval.Builder,Approval>,SdkPojo
- Enclosing class:
- Approval
public static interface Approval.Builder extends SdkPojo, CopyableBuilder<Approval.Builder,Approval>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Approval.BuilderapprovalState(String approvalState)The state of the approval, APPROVE or REVOKE.Approval.BuilderapprovalState(ApprovalState approvalState)The state of the approval, APPROVE or REVOKE.Approval.BuilderuserArn(String userArn)The Amazon Resource Name (ARN) of the user.-
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
-
userArn
Approval.Builder userArn(String userArn)
The Amazon Resource Name (ARN) of the user.
- Parameters:
userArn- The Amazon Resource Name (ARN) of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalState
Approval.Builder approvalState(String approvalState)
The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.
- Parameters:
approvalState- The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApprovalState,ApprovalState
-
approvalState
Approval.Builder approvalState(ApprovalState approvalState)
The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.
- Parameters:
approvalState- The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApprovalState,ApprovalState
-
-