@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() |
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 instance 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 instance 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 instance ID or key-value pair to retrieve information about.
|
DescribeMaintenanceWindowsForTargetRequest |
withTargets(Target... targets)
The instance ID or key-value pair to retrieve information about.
|
addHandlerContext, copyBaseTo, 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 DescribeMaintenanceWindowsForTargetRequest()
public List<Target> getTargets()
The instance ID or key-value pair to retrieve information about.
public void setTargets(Collection<Target> targets)
The instance ID or key-value pair to retrieve information about.
targets
- The instance ID or key-value pair to retrieve information about.public DescribeMaintenanceWindowsForTargetRequest withTargets(Target... targets)
The instance 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 instance ID or key-value pair to retrieve information about.public DescribeMaintenanceWindowsForTargetRequest withTargets(Collection<Target> targets)
The instance ID or key-value pair to retrieve information about.
targets
- The instance 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
.MaintenanceWindowResourceType
public String getResourceType()
The type of resource you want to retrieve information about. For example, INSTANCE
.
INSTANCE
.MaintenanceWindowResourceType
public 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
.MaintenanceWindowResourceType
public 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
.MaintenanceWindowResourceType
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 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 Object
Object.toString()
public DescribeMaintenanceWindowsForTargetRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.