Interface ListProjectsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> IoTSiteWiseResponse.Builder,SdkBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProjectsResponse
public static interface ListProjectsResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<ListProjectsResponse.Builder,ListProjectsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results, or null if there are no additional results.projectSummaries(Collection<ProjectSummary> projectSummaries) A list that summarizes each project in the portal.projectSummaries(Consumer<ProjectSummary.Builder>... projectSummaries) A list that summarizes each project in the portal.projectSummaries(ProjectSummary... projectSummaries) A list that summarizes each project in the portal.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
projectSummaries
A list that summarizes each project in the portal.
- Parameters:
projectSummaries- A list that summarizes each project in the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectSummaries
A list that summarizes each project in the portal.
- Parameters:
projectSummaries- A list that summarizes each project in the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectSummaries
A list that summarizes each project in the portal.
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
The token for the next set of results, or null if there are no additional results.
- Parameters:
nextToken- The token for the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-