Interface ListProfileTimesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruProfilerResponse.Builder,CopyableBuilder<ListProfileTimesResponse.Builder,,ListProfileTimesResponse> SdkBuilder<ListProfileTimesResponse.Builder,,ListProfileTimesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProfileTimesResponse
public static interface ListProfileTimesResponse.Builder
extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<ListProfileTimesResponse.Builder,ListProfileTimesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextTokenvalue to include in a futureListProfileTimesrequest.profileTimes(Collection<ProfileTime> profileTimes) The list of start times of the available profiles for the aggregation period in the specified time range.profileTimes(Consumer<ProfileTime.Builder>... profileTimes) The list of start times of the available profiles for the aggregation period in the specified time range.profileTimes(ProfileTime... profileTimes) The list of start times of the available profiles for the aggregation period in the specified time range.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The
nextTokenvalue to include in a futureListProfileTimesrequest. When the results of aListProfileTimesrequest 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 futureListProfileTimesrequest. When the results of aListProfileTimesrequest 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.
-
profileTimes
The list of start times of the available profiles for the aggregation period in the specified time range.
- Parameters:
profileTimes- The list of start times of the available profiles for the aggregation period in the specified time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileTimes
The list of start times of the available profiles for the aggregation period in the specified time range.
- Parameters:
profileTimes- The list of start times of the available profiles for the aggregation period in the specified time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileTimes
The list of start times of the available profiles for the aggregation period in the specified time range.
This is a convenience method that creates an instance of theProfileTime.Builderavoiding the need to create one manually viaProfileTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofileTimes(List<ProfileTime>).- Parameters:
profileTimes- a consumer that will call methods onProfileTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-