Interface ListComponentsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse>, ImagebuilderResponse.Builder, SdkBuilder<ListComponentsResponse.Builder,ListComponentsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListComponentsResponse

public static interface ListComponentsResponse.Builder extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse>
  • Method Details

    • requestId

      ListComponentsResponse.Builder requestId(String requestIdValue)

      The request ID that uniquely identifies this request.

      Parameters:
      requestIdValue - The request ID that uniquely identifies this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentVersionList

      ListComponentsResponse.Builder componentVersionList(Collection<ComponentVersion> componentVersionList)

      The list of component semantic versions.

      The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

      Parameters:
      componentVersionList - The list of component semantic versions.

      The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentVersionList

      ListComponentsResponse.Builder componentVersionList(ComponentVersion... componentVersionList)

      The list of component semantic versions.

      The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

      Parameters:
      componentVersionList - The list of component semantic versions.

      The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentVersionList

      ListComponentsResponse.Builder componentVersionList(Consumer<ComponentVersion.Builder>... componentVersionList)

      The list of component semantic versions.

      The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

      This is a convenience method that creates an instance of the ComponentVersion.Builder avoiding the need to create one manually via ComponentVersion.builder() .

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

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

      ListComponentsResponse.Builder nextToken(String nextToken)

      The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.

      Parameters:
      nextToken - The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.