@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeMaintenanceWindowsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeMaintenanceWindowsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeMaintenanceWindowsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<MaintenanceWindowFilter> |
getFilters()
Optional filters used to narrow down the scope of the returned maintenance windows.
|
Integer |
getMaxResults()
The maximum number of items to return for this call.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setFilters(Collection<MaintenanceWindowFilter> filters)
Optional filters used to narrow down the scope of the returned maintenance windows.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
DescribeMaintenanceWindowsRequest |
withFilters(Collection<MaintenanceWindowFilter> filters)
Optional filters used to narrow down the scope of the returned maintenance windows.
|
DescribeMaintenanceWindowsRequest |
withFilters(MaintenanceWindowFilter... filters)
Optional filters used to narrow down the scope of the returned maintenance windows.
|
DescribeMaintenanceWindowsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
DescribeMaintenanceWindowsRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
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 List<MaintenanceWindowFilter> getFilters()
Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys are
Name
and Enabled
. For example, Name=MyMaintenanceWindow
and
Enabled=True
.
Name
and Enabled
. For example, Name=MyMaintenanceWindow
and
Enabled=True
.public void setFilters(Collection<MaintenanceWindowFilter> filters)
Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys are
Name
and Enabled
. For example, Name=MyMaintenanceWindow
and
Enabled=True
.
filters
- Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys
are Name
and Enabled
. For example, Name=MyMaintenanceWindow
and
Enabled=True
.public DescribeMaintenanceWindowsRequest withFilters(MaintenanceWindowFilter... filters)
Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys are
Name
and Enabled
. For example, Name=MyMaintenanceWindow
and
Enabled=True
.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys
are Name
and Enabled
. For example, Name=MyMaintenanceWindow
and
Enabled=True
.public DescribeMaintenanceWindowsRequest withFilters(Collection<MaintenanceWindowFilter> filters)
Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys are
Name
and Enabled
. For example, Name=MyMaintenanceWindow
and
Enabled=True
.
filters
- Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys
are Name
and Enabled
. For example, Name=MyMaintenanceWindow
and
Enabled=True
.public void setMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public Integer getMaxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public DescribeMaintenanceWindowsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribeMaintenanceWindowsRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String toString()
toString
in class Object
Object.toString()
public DescribeMaintenanceWindowsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()