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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourcesResponse.BuildernextToken(String nextToken)The continuation token to use when requesting the next set of results, if there are more results to be returned.ListResourcesResponse.Builderresources(Collection<Resource> resources)An array of resources associated with the project.ListResourcesResponse.Builderresources(Consumer<Resource.Builder>... resources)An array of resources associated with the project.ListResourcesResponse.Builderresources(Resource... resources)An array of resources associated with the project.-
Methods inherited from interface software.amazon.awssdk.services.codestar.model.CodeStarResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
resources
ListResourcesResponse.Builder resources(Collection<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
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
ListResourcesResponse.Builder resources(Consumer<Resource.Builder>... 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 to#resources(List.) - 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:
#resources(java.util.Collection)
-
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.
-
-