Interface GetDelegationRequestResponse.Builder

  • Method Details

    • delegationRequest

      GetDelegationRequestResponse.Builder delegationRequest(DelegationRequest 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 the DelegationRequest.Builder avoiding the need to create one manually via DelegationRequest.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to delegationRequest(DelegationRequest).

      Parameters:
      delegationRequest - a consumer that will call methods on DelegationRequest.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • permissionCheckStatus

      GetDelegationRequestResponse.Builder permissionCheckStatus(String 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. The PermissionCheckResult will 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. The PermissionCheckResult will 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. The PermissionCheckResult will 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. The PermissionCheckResult will 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

      GetDelegationRequestResponse.Builder permissionCheckResult(String 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: