Interface ListTrainingSessionsRequest.Builder

  • Method Details

    • nextToken

      If the response was truncated, use the token returned in the previous response to retrieve the next page of results.

      Parameters:
      nextToken - If the response was truncated, use the token returned in the previous response to retrieve the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      The maximum number of training sessions to return in the response.

      Parameters:
      maxResults - The maximum number of training sessions to return in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTimeAfter

      ListTrainingSessionsRequest.Builder creationTimeAfter(Instant creationTimeAfter)

      A filter that returns only training sessions created after the specified time.

      Parameters:
      creationTimeAfter - A filter that returns only training sessions created after the specified time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTimeBefore

      ListTrainingSessionsRequest.Builder creationTimeBefore(Instant creationTimeBefore)

      A filter that returns only training sessions created before the specified time.

      Parameters:
      creationTimeBefore - A filter that returns only training sessions created before the specified time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nameContains

      ListTrainingSessionsRequest.Builder nameContains(String nameContains)

      A string in the training session name to filter results. Only sessions whose name contains the specified string are returned.

      Parameters:
      nameContains - A string in the training session name to filter results. Only sessions whose name contains the specified string are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusEquals

      ListTrainingSessionsRequest.Builder statusEquals(String statusEquals)

      A filter that returns only training sessions with the specified status.

      Parameters:
      statusEquals - A filter that returns only training sessions with the specified status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusEquals

      A filter that returns only training sessions with the specified status.

      Parameters:
      statusEquals - A filter that returns only training sessions with the specified status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

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