Interface ListResourcesResponse.Builder

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

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

    • resources

      An array of resources associated with the project.

      Parameters:
      resources - An array of resources associated with the project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      ListResourcesResponse.Builder resources(Resource... resources)

      An array of resources associated with the project.

      Parameters:
      resources - An array of resources associated with the project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      An array of resources associated with the project.

      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)

      The continuation token to use when requesting the next set of results, if there are more results to be returned.

      Parameters:
      nextToken - The continuation token to use when requesting the next set of results, if there are more results to be returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.