Interface ListProjectProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProjectProfilesResponse.Builder,
,ListProjectProfilesResponse> DataZoneResponse.Builder
,SdkBuilder<ListProjectProfilesResponse.Builder,
,ListProjectProfilesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProjectProfilesResponse
@Mutable
@NotThreadSafe
public static interface ListProjectProfilesResponse.Builder
extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListProjectProfilesResponse.Builder,ListProjectProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<ProjectProfileSummary> items) The results of the ListProjectProfiles action.items
(Consumer<ProjectProfileSummary.Builder>... items) The results of the ListProjectProfiles action.items
(ProjectProfileSummary... items) The results of the ListProjectProfiles action.When the number of project profiles is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of project profiles, the response includes a pagination token named NextToken.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The results of the ListProjectProfiles action.
- Parameters:
items
- The results of the ListProjectProfiles action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results of the ListProjectProfiles action.
- Parameters:
items
- The results of the ListProjectProfiles action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results of the ListProjectProfiles action.
This is a convenience method that creates an instance of theProjectProfileSummary.Builder
avoiding the need to create one manually viaProjectProfileSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ProjectProfileSummary>)
.- Parameters:
items
- a consumer that will call methods onProjectProfileSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When the number of project profiles is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of project profiles, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListProjectProfiles to list the next set of project profiles.
- Parameters:
nextToken
- When the number of project profiles is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of project profiles, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListProjectProfiles to list the next set of project profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-