Interface GetDelegationRequestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDelegationRequestResponse.Builder,,GetDelegationRequestResponse> IamResponse.Builder,SdkBuilder<GetDelegationRequestResponse.Builder,,GetDelegationRequestResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDelegationRequestResponse
-
Method Summary
Modifier and TypeMethodDescriptiondelegationRequest(Consumer<DelegationRequest.Builder> delegationRequest) The delegation request object containing all details about the request.delegationRequest(DelegationRequest delegationRequest) The delegation request object containing all details about the request.permissionCheckResult(String permissionCheckResult) The result of the permission check, indicating whether the caller has sufficient permissions to cover the requested permissions.permissionCheckResult(PermissionCheckResultType permissionCheckResult) The result of the permission check, indicating whether the caller has sufficient permissions to cover the requested permissions.permissionCheckStatus(String permissionCheckStatus) The status of the permission check for the delegation request.permissionCheckStatus(PermissionCheckStatusType permissionCheckStatus) The status of the permission check for the delegation request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
delegationRequest
The delegation request object containing all details about the request.
- Parameters:
delegationRequest- The delegation request object containing all details about the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegationRequest
default GetDelegationRequestResponse.Builder delegationRequest(Consumer<DelegationRequest.Builder> delegationRequest) The delegation request object containing all details about the request.
This is a convenience method that creates an instance of theDelegationRequest.Builderavoiding the need to create one manually viaDelegationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelegationRequest(DelegationRequest).- Parameters:
delegationRequest- a consumer that will call methods onDelegationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissionCheckStatus
The status of the permission check for the delegation request.
This value indicates the status of the process to check whether the caller has sufficient permissions to cover the requested actions in the delegation request. Since this is an asynchronous process, there are three potential values:
-
IN_PROGRESS: The permission check process has started. -
COMPLETED: The permission check process has completed. ThePermissionCheckResultwill include the result. -
FAILED: The permission check process has failed.
- Parameters:
permissionCheckStatus- The status of the permission check for the delegation request.This value indicates the status of the process to check whether the caller has sufficient permissions to cover the requested actions in the delegation request. Since this is an asynchronous process, there are three potential values:
-
IN_PROGRESS: The permission check process has started. -
COMPLETED: The permission check process has completed. ThePermissionCheckResultwill include the result. -
FAILED: The permission check process has failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
permissionCheckStatus
GetDelegationRequestResponse.Builder permissionCheckStatus(PermissionCheckStatusType permissionCheckStatus) The status of the permission check for the delegation request.
This value indicates the status of the process to check whether the caller has sufficient permissions to cover the requested actions in the delegation request. Since this is an asynchronous process, there are three potential values:
-
IN_PROGRESS: The permission check process has started. -
COMPLETED: The permission check process has completed. ThePermissionCheckResultwill include the result. -
FAILED: The permission check process has failed.
- Parameters:
permissionCheckStatus- The status of the permission check for the delegation request.This value indicates the status of the process to check whether the caller has sufficient permissions to cover the requested actions in the delegation request. Since this is an asynchronous process, there are three potential values:
-
IN_PROGRESS: The permission check process has started. -
COMPLETED: The permission check process has completed. ThePermissionCheckResultwill include the result. -
FAILED: The permission check process has failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
permissionCheckResult
The result of the permission check, indicating whether the caller has sufficient permissions to cover the requested permissions. This is an approximate result.
-
ALLOWED: The caller has sufficient permissions cover all the requested permissions. -
DENIED: The caller does not have sufficient permissions to cover all the requested permissions. -
UNSURE: It is not possible to determine whether the caller has all the permissions needed. This output is most likely for cases when the caller has permissions with conditions.
- Parameters:
permissionCheckResult- The result of the permission check, indicating whether the caller has sufficient permissions to cover the requested permissions. This is an approximate result.-
ALLOWED: The caller has sufficient permissions cover all the requested permissions. -
DENIED: The caller does not have sufficient permissions to cover all the requested permissions. -
UNSURE: It is not possible to determine whether the caller has all the permissions needed. This output is most likely for cases when the caller has permissions with conditions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
permissionCheckResult
GetDelegationRequestResponse.Builder permissionCheckResult(PermissionCheckResultType permissionCheckResult) The result of the permission check, indicating whether the caller has sufficient permissions to cover the requested permissions. This is an approximate result.
-
ALLOWED: The caller has sufficient permissions cover all the requested permissions. -
DENIED: The caller does not have sufficient permissions to cover all the requested permissions. -
UNSURE: It is not possible to determine whether the caller has all the permissions needed. This output is most likely for cases when the caller has permissions with conditions.
- Parameters:
permissionCheckResult- The result of the permission check, indicating whether the caller has sufficient permissions to cover the requested permissions. This is an approximate result.-
ALLOWED: The caller has sufficient permissions cover all the requested permissions. -
DENIED: The caller does not have sufficient permissions to cover all the requested permissions. -
UNSURE: It is not possible to determine whether the caller has all the permissions needed. This output is most likely for cases when the caller has permissions with conditions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-