Interface RejectTimeOffRequest.Builder

  • Method Details

    • instanceId

      RejectTimeOffRequest.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

      RejectTimeOffRequest.Builder timeOffId(String timeOffId)

      The unique identifier of the time off request to reject. 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 reject. 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

      RejectTimeOffRequest.Builder description(String description)

      A description recorded with the rejection, such as the reason. GetTimeOff doesn't return it.

      Parameters:
      description - A description recorded with the rejection, such as the reason. GetTimeOff doesn't return it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      RejectTimeOffRequest.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.