Interface ListVersionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListVersionsRequest.Builder,ListVersionsRequest>, GrafanaRequest.Builder, SdkBuilder<ListVersionsRequest.Builder,ListVersionsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListVersionsRequest

public static interface ListVersionsRequest.Builder extends GrafanaRequest.Builder, SdkPojo, CopyableBuilder<ListVersionsRequest.Builder,ListVersionsRequest>
  • Method Details

    • maxResults

      ListVersionsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to include in the response.

      Parameters:
      maxResults - The maximum number of results to include in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListVersionsRequest.Builder nextToken(String nextToken)

      The token to use when requesting the next set of results. You receive this token from a previous ListVersions operation.

      Parameters:
      nextToken - The token to use when requesting the next set of results. You receive this token from a previous ListVersions operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workspaceId

      ListVersionsRequest.Builder workspaceId(String workspaceId)

      The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana that are supported for CreateWorkspace.

      Parameters:
      workspaceId - The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana that are supported for CreateWorkspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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