Interface ListProjectsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> SdkBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProjectsResponse
@Mutable
@NotThreadSafe
public static interface ListProjectsResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListProjectsResponse.Builder,ListProjectsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionContinuation token; present only when more results exist.projectSummaries(Collection<ProjectSummary> projectSummaries) The projects returned for this page, including their details and data retention settings.projectSummaries(Consumer<ProjectSummary.Builder>... projectSummaries) The projects returned for this page, including their details and data retention settings.projectSummaries(ProjectSummary... projectSummaries) The projects returned for this page, including their details and data retention settings.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
projectSummaries
The projects returned for this page, including their details and data retention settings.
- Parameters:
projectSummaries- The projects returned for this page, including their details and data retention settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectSummaries
The projects returned for this page, including their details and data retention settings.
- Parameters:
projectSummaries- The projects returned for this page, including their details and data retention settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectSummaries
The projects returned for this page, including their details and data retention settings.
This is a convenience method that creates an instance of theProjectSummary.Builderavoiding the need to create one manually viaProjectSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprojectSummaries(List<ProjectSummary>).- Parameters:
projectSummaries- a consumer that will call methods onProjectSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Continuation token; present only when more results exist. Pass it in the next request to fetch the following page.
- Parameters:
nextToken- Continuation token; present only when more results exist. Pass it in the next request to fetch the following page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-