Class ListProblemsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.applicationinsights.model.ApplicationInsightsRequest
-
- software.amazon.awssdk.services.applicationinsights.model.ListProblemsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListProblemsRequest.Builder,ListProblemsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListProblemsRequest extends ApplicationInsightsRequest implements ToCopyableBuilder<ListProblemsRequest.Builder,ListProblemsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListProblemsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The AWS account ID for the resource group owner.static ListProblemsRequest.Builderbuilder()StringcomponentName()The name of the component.InstantendTime()The time when the problem ended, in epoch seconds.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return in a single call.StringnextToken()The token to request the next page of results.StringresourceGroupName()The name of the resource group.List<SdkField<?>>sdkFields()static Class<? extends ListProblemsRequest.Builder>serializableBuilderClass()InstantstartTime()The time when the problem was detected, in epoch seconds.ListProblemsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Visibilityvisibility()Specifies whether or not you can view the problem.StringvisibilityAsString()Specifies whether or not you can view the problem.-
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
-
accountId
public final String accountId()
The AWS account ID for the resource group owner.
- Returns:
- The AWS account ID for the resource group owner.
-
resourceGroupName
public final String resourceGroupName()
The name of the resource group.
- Returns:
- The name of the resource group.
-
startTime
public final Instant startTime()
The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.
- Returns:
- The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.
-
endTime
public final Instant endTime()
The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
- Returns:
- The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
-
maxResults
public final Integer maxResults()
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
NextTokenvalue.- Returns:
- The maximum number of results to return in a single call. To retrieve the remaining results, make another
call with the returned
NextTokenvalue.
-
nextToken
public final String nextToken()
The token to request the next page of results.
- Returns:
- The token to request the next page of results.
-
componentName
public final String componentName()
The name of the component.
- Returns:
- The name of the component.
-
visibility
public final Visibility visibility()
Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
If the service returns an enum value that is not available in the current SDK version,
visibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvisibilityAsString().- Returns:
- Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
- See Also:
Visibility
-
visibilityAsString
public final String visibilityAsString()
Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
If the service returns an enum value that is not available in the current SDK version,
visibilitywill returnVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvisibilityAsString().- Returns:
- Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
- See Also:
Visibility
-
toBuilder
public ListProblemsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListProblemsRequest.Builder,ListProblemsRequest>- Specified by:
toBuilderin classApplicationInsightsRequest
-
builder
public static ListProblemsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListProblemsRequest.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
-
-