Interface ListProfilingGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruProfilerResponse.Builder,CopyableBuilder<ListProfilingGroupsResponse.Builder,ListProfilingGroupsResponse>,SdkBuilder<ListProfilingGroupsResponse.Builder,ListProfilingGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListProfilingGroupsResponse
public static interface ListProfilingGroupsResponse.Builder extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<ListProfilingGroupsResponse.Builder,ListProfilingGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProfilingGroupsResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListProfilingGroupsrequest.ListProfilingGroupsResponse.BuilderprofilingGroupNames(String... profilingGroupNames)A returned list of profiling group names.ListProfilingGroupsResponse.BuilderprofilingGroupNames(Collection<String> profilingGroupNames)A returned list of profiling group names.ListProfilingGroupsResponse.BuilderprofilingGroups(Collection<ProfilingGroupDescription> profilingGroups)A returned listProfilingGroupDescriptionobjects.ListProfilingGroupsResponse.BuilderprofilingGroups(Consumer<ProfilingGroupDescription.Builder>... profilingGroups)A returned listProfilingGroupDescriptionobjects.ListProfilingGroupsResponse.BuilderprofilingGroups(ProfilingGroupDescription... profilingGroups)A returned listProfilingGroupDescriptionobjects.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListProfilingGroupsResponse.Builder nextToken(String 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
ListProfilingGroupsResponse.Builder profilingGroupNames(Collection<String> 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
ListProfilingGroupsResponse.Builder profilingGroupNames(String... 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
ListProfilingGroupsResponse.Builder profilingGroups(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
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 to#profilingGroups(List.) - 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:
#profilingGroups(java.util.Collection)
-
-