@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstancePatchesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeInstancePatchesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeInstancePatchesRequest |
clone() |
boolean |
equals(Object obj) |
List<PatchOrchestratorFilter> |
getFilters()
An array of structures.
|
String |
getInstanceId()
The ID of the instance whose patch state information should be retrieved.
|
Integer |
getMaxResults()
The maximum number of patches to return (per page).
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setFilters(Collection<PatchOrchestratorFilter> filters)
An array of structures.
|
void |
setInstanceId(String instanceId)
The ID of the instance whose patch state information should be retrieved.
|
void |
setMaxResults(Integer maxResults)
The maximum number of patches to return (per page).
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstancePatchesRequest |
withFilters(Collection<PatchOrchestratorFilter> filters)
An array of structures.
|
DescribeInstancePatchesRequest |
withFilters(PatchOrchestratorFilter... filters)
An array of structures.
|
DescribeInstancePatchesRequest |
withInstanceId(String instanceId)
The ID of the instance whose patch state information should be retrieved.
|
DescribeInstancePatchesRequest |
withMaxResults(Integer maxResults)
The maximum number of patches to return (per page).
|
DescribeInstancePatchesRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
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 void setInstanceId(String instanceId)
The ID of the instance whose patch state information should be retrieved.
instanceId
- The ID of the instance whose patch state information should be retrieved.public String getInstanceId()
The ID of the instance whose patch state information should be retrieved.
public DescribeInstancePatchesRequest withInstanceId(String instanceId)
The ID of the instance whose patch state information should be retrieved.
instanceId
- The ID of the instance whose patch state information should be retrieved.public List<PatchOrchestratorFilter> getFilters()
An array of structures. Each entry in the array is a structure containing a Key, Value combination. Valid values
for Key are Classification
| KBId
| Severity
| State
.
Classification
| KBId
| Severity
|
State
.public void setFilters(Collection<PatchOrchestratorFilter> filters)
An array of structures. Each entry in the array is a structure containing a Key, Value combination. Valid values
for Key are Classification
| KBId
| Severity
| State
.
filters
- An array of structures. Each entry in the array is a structure containing a Key, Value combination. Valid
values for Key are Classification
| KBId
| Severity
|
State
.public DescribeInstancePatchesRequest withFilters(PatchOrchestratorFilter... filters)
An array of structures. Each entry in the array is a structure containing a Key, Value combination. Valid values
for Key are Classification
| KBId
| Severity
| State
.
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
- An array of structures. Each entry in the array is a structure containing a Key, Value combination. Valid
values for Key are Classification
| KBId
| Severity
|
State
.public DescribeInstancePatchesRequest withFilters(Collection<PatchOrchestratorFilter> filters)
An array of structures. Each entry in the array is a structure containing a Key, Value combination. Valid values
for Key are Classification
| KBId
| Severity
| State
.
filters
- An array of structures. Each entry in the array is a structure containing a Key, Value combination. Valid
values for Key are Classification
| KBId
| Severity
|
State
.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 DescribeInstancePatchesRequest 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 void setMaxResults(Integer maxResults)
The maximum number of patches to return (per page).
maxResults
- The maximum number of patches to return (per page).public Integer getMaxResults()
The maximum number of patches to return (per page).
public DescribeInstancePatchesRequest withMaxResults(Integer maxResults)
The maximum number of patches to return (per page).
maxResults
- The maximum number of patches to return (per page).public String toString()
toString
in class Object
Object.toString()
public DescribeInstancePatchesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.