Class ListProfileTimesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerRequest
-
- software.amazon.awssdk.services.codeguruprofiler.model.ListProfileTimesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListProfileTimesRequest.Builder,ListProfileTimesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListProfileTimesRequest extends CodeGuruProfilerRequest implements ToCopyableBuilder<ListProfileTimesRequest.Builder,ListProfileTimesRequest>
The structure representing the listProfileTimesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListProfileTimesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListProfileTimesRequest.Builderbuilder()InstantendTime()The end time of the time range from which to list the profiles.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of profile time results returned byListProfileTimesin paginated output.StringnextToken()ThenextTokenvalue returned from a previous paginatedListProfileTimesrequest wheremaxResultswas used and the results exceeded the value of that parameter.OrderByorderBy()The order (ascending or descending by start time of the profile) to use when listing profiles.StringorderByAsString()The order (ascending or descending by start time of the profile) to use when listing profiles.AggregationPeriodperiod()The aggregation period.StringperiodAsString()The aggregation period.StringprofilingGroupName()The name of the profiling group.List<SdkField<?>>sdkFields()static Class<? extends ListProfileTimesRequest.Builder>serializableBuilderClass()InstantstartTime()The start time of the time range from which to list the profiles.ListProfileTimesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
endTime
public final Instant endTime()
The end time of the time range from which to list the profiles.
- Returns:
- The end time of the time range from which to list the profiles.
-
maxResults
public final Integer maxResults()
The maximum number of profile time results returned by
ListProfileTimesin paginated output. When this parameter is used,ListProfileTimesonly returnsmaxResultsresults in a single page with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListProfileTimesrequest with the returnednextTokenvalue.- Returns:
- The maximum number of profile time results returned by
ListProfileTimesin paginated output. When this parameter is used,ListProfileTimesonly returnsmaxResultsresults in a single page with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListProfileTimesrequest with the returnednextTokenvalue.
-
nextToken
public final String nextToken()
The
nextTokenvalue returned from a previous paginatedListProfileTimesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- The
nextTokenvalue returned from a previous paginatedListProfileTimesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
-
orderBy
public final OrderBy orderBy()
The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to
TIMESTAMP_DESCENDING.If the service returns an enum value that is not available in the current SDK version,
orderBywill returnOrderBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderByAsString().- Returns:
- The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults
to
TIMESTAMP_DESCENDING. - See Also:
OrderBy
-
orderByAsString
public final String orderByAsString()
The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to
TIMESTAMP_DESCENDING.If the service returns an enum value that is not available in the current SDK version,
orderBywill returnOrderBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderByAsString().- Returns:
- The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults
to
TIMESTAMP_DESCENDING. - See Also:
OrderBy
-
period
public final AggregationPeriod period()
The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.
-
P1D— 1 day -
PT1H— 1 hour -
PT5M— 5 minutes
If the service returns an enum value that is not available in the current SDK version,
periodwill returnAggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperiodAsString().- Returns:
- The aggregation period. This specifies the period during which an aggregation profile collects posted
agent profiles for a profiling group. There are 3 valid values.
-
P1D— 1 day -
PT1H— 1 hour -
PT5M— 5 minutes
-
- See Also:
AggregationPeriod
-
-
periodAsString
public final String periodAsString()
The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.
-
P1D— 1 day -
PT1H— 1 hour -
PT5M— 5 minutes
If the service returns an enum value that is not available in the current SDK version,
periodwill returnAggregationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperiodAsString().- Returns:
- The aggregation period. This specifies the period during which an aggregation profile collects posted
agent profiles for a profiling group. There are 3 valid values.
-
P1D— 1 day -
PT1H— 1 hour -
PT5M— 5 minutes
-
- See Also:
AggregationPeriod
-
-
profilingGroupName
public final String profilingGroupName()
The name of the profiling group.
- Returns:
- The name of the profiling group.
-
startTime
public final Instant startTime()
The start time of the time range from which to list the profiles.
- Returns:
- The start time of the time range from which to list the profiles.
-
toBuilder
public ListProfileTimesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListProfileTimesRequest.Builder,ListProfileTimesRequest>- Specified by:
toBuilderin classCodeGuruProfilerRequest
-
builder
public static ListProfileTimesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListProfileTimesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-