Interface CancelTimeOffRequest.Builder

  • Method Details

    • instanceId

      CancelTimeOffRequest.Builder instanceId(String instanceId)

      The identifier of the Connect Customer instance. This can be the ID or the ARN of the instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

      Parameters:
      instanceId - The identifier of the Connect Customer instance. This can be the ID or the ARN of the instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userId

      The identifier of the user who the time off request belongs to. This can be the ID or the ARN of the user.

      Parameters:
      userId - The identifier of the user who the time off request belongs to. This can be the ID or the ARN of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeOffId

      CancelTimeOffRequest.Builder timeOffId(String timeOffId)

      The unique identifier of the time off request to cancel. If the time off request doesn't belong to UserId, the operation returns ResourceNotFoundException.

      Parameters:
      timeOffId - The unique identifier of the time off request to cancel. If the time off request doesn't belong to UserId, the operation returns ResourceNotFoundException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CancelTimeOffRequest.Builder description(String description)

      A description recorded with the cancellation. It replaces the description of the time off request. If you omit it, the request's description is removed.

      Parameters:
      description - A description recorded with the cancellation. It replaces the description of the time off request. If you omit it, the request's description is removed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CancelTimeOffRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.