Interface ListVersionsResponse.Builder

  • Method Details

    • nextToken

      ListVersionsResponse.Builder nextToken(String nextToken)
      Optional. Use this string, provided with the response to a previous request, to request the next batch of Job engine versions.
      Parameters:
      nextToken - Optional. Use this string, provided with the response to a previous request, to request the next batch of Job engine versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versions

      Retrieve a JSON array of all available Job engine versions and the date they expire.
      Parameters:
      versions - Retrieve a JSON array of all available Job engine versions and the date they expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versions

      Retrieve a JSON array of all available Job engine versions and the date they expire.
      Parameters:
      versions - Retrieve a JSON array of all available Job engine versions and the date they expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versions

      Retrieve a JSON array of all available Job engine versions and the date they expire. This is a convenience method that creates an instance of the JobEngineVersion.Builder avoiding the need to create one manually via JobEngineVersion.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to versions(List<JobEngineVersion>).

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