@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeMaintenanceWindowsForTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribeMaintenanceWindowsForTargetRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeMaintenanceWindowsForTargetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of items to return for this call.
|
String |
getNextToken()
The token for the next set of items to return.
|
String |
getResourceType()
The type of resource you want to retrieve information about.
|
List<Target> |
getTargets()
The managed node ID or key-value pair to retrieve information about.
|
int |
hashCode() |
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.
|
void |
setResourceType(String resourceType)
The type of resource you want to retrieve information about.
|
void |
setTargets(Collection<Target> targets)
The managed node ID or key-value pair to retrieve information about.
|
String |
toString()
Returns a string representation of this object.
|
DescribeMaintenanceWindowsForTargetRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
DescribeMaintenanceWindowsForTargetRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
DescribeMaintenanceWindowsForTargetRequest |
withResourceType(MaintenanceWindowResourceType resourceType)
The type of resource you want to retrieve information about.
|
DescribeMaintenanceWindowsForTargetRequest |
withResourceType(String resourceType)
The type of resource you want to retrieve information about.
|
DescribeMaintenanceWindowsForTargetRequest |
withTargets(Collection<Target> targets)
The managed node ID or key-value pair to retrieve information about.
|
DescribeMaintenanceWindowsForTargetRequest |
withTargets(Target... targets)
The managed node ID or key-value pair to retrieve information about.
|
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, withSdkRequestTimeoutpublic DescribeMaintenanceWindowsForTargetRequest()
public List<Target> getTargets()
The managed node ID or key-value pair to retrieve information about.
public void setTargets(Collection<Target> targets)
The managed node ID or key-value pair to retrieve information about.
targets - The managed node ID or key-value pair to retrieve information about.public DescribeMaintenanceWindowsForTargetRequest withTargets(Target... targets)
The managed node ID or key-value pair to retrieve information about.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection) or withTargets(java.util.Collection) if you want to override
the existing values.
targets - The managed node ID or key-value pair to retrieve information about.public DescribeMaintenanceWindowsForTargetRequest withTargets(Collection<Target> targets)
The managed node ID or key-value pair to retrieve information about.
targets - The managed node ID or key-value pair to retrieve information about.public void setResourceType(String resourceType)
The type of resource you want to retrieve information about. For example, INSTANCE.
resourceType - The type of resource you want to retrieve information about. For example, INSTANCE.MaintenanceWindowResourceTypepublic String getResourceType()
The type of resource you want to retrieve information about. For example, INSTANCE.
INSTANCE.MaintenanceWindowResourceTypepublic DescribeMaintenanceWindowsForTargetRequest withResourceType(String resourceType)
The type of resource you want to retrieve information about. For example, INSTANCE.
resourceType - The type of resource you want to retrieve information about. For example, INSTANCE.MaintenanceWindowResourceTypepublic DescribeMaintenanceWindowsForTargetRequest withResourceType(MaintenanceWindowResourceType resourceType)
The type of resource you want to retrieve information about. For example, INSTANCE.
resourceType - The type of resource you want to retrieve information about. For example, INSTANCE.MaintenanceWindowResourceTypepublic 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 DescribeMaintenanceWindowsForTargetRequest 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 DescribeMaintenanceWindowsForTargetRequest 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 ObjectObject.toString()public DescribeMaintenanceWindowsForTargetRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()