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 Summary
Modifier and TypeMethodDescriptionThe continuation token to use when requesting the next set of results, if there are more results to be returned.resources(Collection<Resource> resources) An array of resources associated with the project.resources(Consumer<Resource.Builder>... resources) An array of resources associated with the project.An array of resources associated with the project.Methods inherited from interface software.amazon.awssdk.services.codestar.model.CodeStarResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<Resource>).- Parameters:
resources- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-