Interface ListResourcesResponse.Builder

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

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

    • resources

      An array of objects that contain information about the resources.

      Parameters:
      resources - An array of objects that contain information about the resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      ListResourcesResponse.Builder resources(Resource... resources)

      An array of objects that contain information about the resources.

      Parameters:
      resources - An array of objects that contain information about the resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      An array of objects that contain information about the resources.

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

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

      Parameters:
      resources - a consumer that will call methods on Resource.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 present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.

      Parameters:
      nextToken - If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.