Interface ListResourcesResponse.Builder

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

public static interface ListResourcesResponse.Builder extends CloudControlResponse.Builder, SdkPojo, CopyableBuilder<ListResourcesResponse.Builder,ListResourcesResponse>
  • Method Details

    • typeName

      The name of the resource type.

      Parameters:
      typeName - The name of the resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceDescriptions

      ListResourcesResponse.Builder resourceDescriptions(Collection<ResourceDescription> resourceDescriptions)

      Information about the specified resources, including primary identifier and resource model.

      Parameters:
      resourceDescriptions - Information about the specified resources, including primary identifier and resource model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceDescriptions

      ListResourcesResponse.Builder resourceDescriptions(ResourceDescription... resourceDescriptions)

      Information about the specified resources, including primary identifier and resource model.

      Parameters:
      resourceDescriptions - Information about the specified resources, including primary identifier and resource model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceDescriptions

      ListResourcesResponse.Builder resourceDescriptions(Consumer<ResourceDescription.Builder>... resourceDescriptions)

      Information about the specified resources, including primary identifier and resource model.

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

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

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

      ListResourcesResponse.Builder nextToken(String nextToken)

      If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResources again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

      Parameters:
      nextToken - If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResources again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.