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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProfileTimesResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListProfileTimesrequest.ListProfileTimesResponse.BuilderprofileTimes(Collection<ProfileTime> profileTimes)The list of start times of the available profiles for the aggregation period in the specified time range.ListProfileTimesResponse.BuilderprofileTimes(Consumer<ProfileTime.Builder>... profileTimes)The list of start times of the available profiles for the aggregation period in the specified time range.ListProfileTimesResponse.BuilderprofileTimes(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, 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 Detail
-
nextToken
ListProfileTimesResponse.Builder nextToken(String 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
ListProfileTimesResponse.Builder profileTimes(Collection<ProfileTime> 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
ListProfileTimesResponse.Builder profileTimes(ProfileTime... 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
ListProfileTimesResponse.Builder profileTimes(Consumer<ProfileTime.Builder>... 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 to#profileTimes(List.) - 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:
#profileTimes(java.util.Collection)
-
-