Interface GetTimeOffRequest.Builder

  • Method Details

    • instanceId

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

      GetTimeOffRequest.Builder timeOffId(String timeOffId)

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

      Parameters:
      timeOffId - The identifier of the time off request. 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.
    • overrideConfiguration

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