Interface ListProfilingGroupsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CodeGuruProfilerResponse.Builder,CopyableBuilder<ListProfilingGroupsResponse.Builder,,ListProfilingGroupsResponse> SdkBuilder<ListProfilingGroupsResponse.Builder,,ListProfilingGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListProfilingGroupsResponse
- 
Method Summary
Modifier and TypeMethodDescriptionThenextTokenvalue to include in a futureListProfilingGroupsrequest.profilingGroupNames(String... profilingGroupNames) A returned list of profiling group names.profilingGroupNames(Collection<String> profilingGroupNames) A returned list of profiling group names.profilingGroups(Collection<ProfilingGroupDescription> profilingGroups) A returned listProfilingGroupDescriptionobjects.profilingGroups(Consumer<ProfilingGroupDescription.Builder>... profilingGroups) A returned listProfilingGroupDescriptionobjects.profilingGroups(ProfilingGroupDescription... profilingGroups) A returned listProfilingGroupDescriptionobjects.Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerResponse.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
- 
nextToken
The
nextTokenvalue to include in a futureListProfilingGroupsrequest. When the results of aListProfilingGroupsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
 nextToken- ThenextTokenvalue to include in a futureListProfilingGroupsrequest. When the results of aListProfilingGroupsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
profilingGroupNames
A returned list of profiling group names. A list of the names is returned only if
includeDescriptionisfalse, otherwise a list ofProfilingGroupDescriptionobjects is returned.- Parameters:
 profilingGroupNames- A returned list of profiling group names. A list of the names is returned only ifincludeDescriptionisfalse, otherwise a list ofProfilingGroupDescriptionobjects is returned.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
profilingGroupNames
A returned list of profiling group names. A list of the names is returned only if
includeDescriptionisfalse, otherwise a list ofProfilingGroupDescriptionobjects is returned.- Parameters:
 profilingGroupNames- A returned list of profiling group names. A list of the names is returned only ifincludeDescriptionisfalse, otherwise a list ofProfilingGroupDescriptionobjects is returned.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
profilingGroups
ListProfilingGroupsResponse.Builder profilingGroups(Collection<ProfilingGroupDescription> profilingGroups) A returned list
ProfilingGroupDescriptionobjects. A list ofProfilingGroupDescriptionobjects is returned only ifincludeDescriptionistrue, otherwise a list of profiling group names is returned.- Parameters:
 profilingGroups- A returned listProfilingGroupDescriptionobjects. A list ofProfilingGroupDescriptionobjects is returned only ifincludeDescriptionistrue, otherwise a list of profiling group names is returned.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
profilingGroups
A returned list
ProfilingGroupDescriptionobjects. A list ofProfilingGroupDescriptionobjects is returned only ifincludeDescriptionistrue, otherwise a list of profiling group names is returned.- Parameters:
 profilingGroups- A returned listProfilingGroupDescriptionobjects. A list ofProfilingGroupDescriptionobjects is returned only ifincludeDescriptionistrue, otherwise a list of profiling group names is returned.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
profilingGroups
ListProfilingGroupsResponse.Builder profilingGroups(Consumer<ProfilingGroupDescription.Builder>... profilingGroups) A returned list
This is a convenience method that creates an instance of theProfilingGroupDescriptionobjects. A list ofProfilingGroupDescriptionobjects is returned only ifincludeDescriptionistrue, otherwise a list of profiling group names is returned.ProfilingGroupDescription.Builderavoiding the need to create one manually viaProfilingGroupDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofilingGroups(List<ProfilingGroupDescription>).- Parameters:
 profilingGroups- a consumer that will call methods onProfilingGroupDescription.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -