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 TypeMethodDescriptionThenextToken
value to include in a futureListProfilingGroups
request.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 listProfilingGroupDescription
objects.profilingGroups
(Consumer<ProfilingGroupDescription.Builder>... profilingGroups) A returned listProfilingGroupDescription
objects.profilingGroups
(ProfilingGroupDescription... profilingGroups) A returned listProfilingGroupDescription
objects.Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerResponse.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 Details
-
nextToken
The
nextToken
value to include in a futureListProfilingGroups
request. When the results of aListProfilingGroups
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListProfilingGroups
request. When the results of aListProfilingGroups
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when 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
includeDescription
isfalse
, otherwise a list ofProfilingGroupDescription
objects is returned.- Parameters:
profilingGroupNames
- A returned list of profiling group names. A list of the names is returned only ifincludeDescription
isfalse
, otherwise a list ofProfilingGroupDescription
objects 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
includeDescription
isfalse
, otherwise a list ofProfilingGroupDescription
objects is returned.- Parameters:
profilingGroupNames
- A returned list of profiling group names. A list of the names is returned only ifincludeDescription
isfalse
, otherwise a list ofProfilingGroupDescription
objects 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
ProfilingGroupDescription
objects. A list ofProfilingGroupDescription
objects is returned only ifincludeDescription
istrue
, otherwise a list of profiling group names is returned.- Parameters:
profilingGroups
- A returned listProfilingGroupDescription
objects. A list ofProfilingGroupDescription
objects is returned only ifincludeDescription
istrue
, 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
ProfilingGroupDescription
objects. A list ofProfilingGroupDescription
objects is returned only ifincludeDescription
istrue
, otherwise a list of profiling group names is returned.- Parameters:
profilingGroups
- A returned listProfilingGroupDescription
objects. A list ofProfilingGroupDescription
objects is returned only ifincludeDescription
istrue
, 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 theProfilingGroupDescription
objects. A list ofProfilingGroupDescription
objects is returned only ifincludeDescription
istrue
, otherwise a list of profiling group names is returned.ProfilingGroupDescription.Builder
avoiding the need to create one manually viaProfilingGroupDescription.builder()
.When the
Consumer
completes,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:
-