@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProblemsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListProblemsRequest() |
Modifier and Type | Method and Description |
---|---|
ListProblemsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The AWS account ID for the resource group owner.
|
String |
getComponentName()
The name of the component.
|
Date |
getEndTime()
The time when the problem ended, in epoch seconds.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token to request the next page of results.
|
String |
getResourceGroupName()
The name of the resource group.
|
Date |
getStartTime()
The time when the problem was detected, in epoch seconds.
|
String |
getVisibility()
Specifies whether or not you can view the problem.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The AWS account ID for the resource group owner.
|
void |
setComponentName(String componentName)
The name of the component.
|
void |
setEndTime(Date endTime)
The time when the problem ended, in epoch seconds.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token to request the next page of results.
|
void |
setResourceGroupName(String resourceGroupName)
The name of the resource group.
|
void |
setStartTime(Date startTime)
The time when the problem was detected, in epoch seconds.
|
void |
setVisibility(String visibility)
Specifies whether or not you can view the problem.
|
String |
toString()
Returns a string representation of this object.
|
ListProblemsRequest |
withAccountId(String accountId)
The AWS account ID for the resource group owner.
|
ListProblemsRequest |
withComponentName(String componentName)
The name of the component.
|
ListProblemsRequest |
withEndTime(Date endTime)
The time when the problem ended, in epoch seconds.
|
ListProblemsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
ListProblemsRequest |
withNextToken(String nextToken)
The token to request the next page of results.
|
ListProblemsRequest |
withResourceGroupName(String resourceGroupName)
The name of the resource group.
|
ListProblemsRequest |
withStartTime(Date startTime)
The time when the problem was detected, in epoch seconds.
|
ListProblemsRequest |
withVisibility(String visibility)
Specifies whether or not you can view the problem.
|
ListProblemsRequest |
withVisibility(Visibility visibility)
Specifies whether or not you can view the problem.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAccountId(String accountId)
The AWS account ID for the resource group owner.
accountId
- The AWS account ID for the resource group owner.public String getAccountId()
The AWS account ID for the resource group owner.
public ListProblemsRequest withAccountId(String accountId)
The AWS account ID for the resource group owner.
accountId
- The AWS account ID for the resource group owner.public void setResourceGroupName(String resourceGroupName)
The name of the resource group.
resourceGroupName
- The name of the resource group.public String getResourceGroupName()
The name of the resource group.
public ListProblemsRequest withResourceGroupName(String resourceGroupName)
The name of the resource group.
resourceGroupName
- The name of the resource group.public void setStartTime(Date 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.
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.public Date getStartTime()
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.
public ListProblemsRequest withStartTime(Date 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.
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.public void setEndTime(Date endTime)
The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
endTime
- The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days
are returned.public Date getEndTime()
The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
public ListProblemsRequest withEndTime(Date endTime)
The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
endTime
- The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days
are returned.public void setMaxResults(Integer maxResults)
The maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. To retrieve the remaining results, make another
call with the returned NextToken
value.public Integer getMaxResults()
The maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken
value.
NextToken
value.public ListProblemsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. To retrieve the remaining results, make another
call with the returned NextToken
value.public void setNextToken(String nextToken)
The token to request the next page of results.
nextToken
- The token to request the next page of results.public String getNextToken()
The token to request the next page of results.
public ListProblemsRequest withNextToken(String nextToken)
The token to request the next page of results.
nextToken
- The token to request the next page of results.public void setComponentName(String componentName)
The name of the component.
componentName
- The name of the component.public String getComponentName()
The name of the component.
public ListProblemsRequest withComponentName(String componentName)
The name of the component.
componentName
- The name of the component.public void setVisibility(String visibility)
Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
visibility
- Specifies whether or not you can view the problem. If not specified, visible and ignored problems are
returned.Visibility
public String getVisibility()
Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
Visibility
public ListProblemsRequest withVisibility(String visibility)
Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
visibility
- Specifies whether or not you can view the problem. If not specified, visible and ignored problems are
returned.Visibility
public ListProblemsRequest withVisibility(Visibility visibility)
Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
visibility
- Specifies whether or not you can view the problem. If not specified, visible and ignored problems are
returned.Visibility
public String toString()
toString
in class Object
Object.toString()
public ListProblemsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()