@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<PatchOrchestratorFilter> |
getFilters()
Each element in the array is a structure containing a key-value pair.
|
String |
getInstanceId()
The ID of the managed node 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)
Each element in the array is a structure containing a key-value pair.
|
void |
setInstanceId(String instanceId)
The ID of the managed node 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)
Each element in the array is a structure containing a key-value pair.
|
DescribeInstancePatchesRequest |
withFilters(PatchOrchestratorFilter... filters)
Each element in the array is a structure containing a key-value pair.
|
DescribeInstancePatchesRequest |
withInstanceId(String instanceId)
The ID of the managed node 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, 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 managed node whose patch state information should be retrieved.
instanceId
- The ID of the managed node whose patch state information should be retrieved.public String getInstanceId()
The ID of the managed node whose patch state information should be retrieved.
public DescribeInstancePatchesRequest withInstanceId(String instanceId)
The ID of the managed node whose patch state information should be retrieved.
instanceId
- The ID of the managed node whose patch state information should be retrieved.public List<PatchOrchestratorFilter> getFilters()
Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
Classification
Sample values: Security
| SecurityUpdates
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
Severity
Sample values: Important
| Medium
| Low
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User Guide.
Supported keys for DescribeInstancePatches
include the following:
Classification
Sample values: Security
| SecurityUpdates
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
Severity
Sample values: Important
| Medium
| Low
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User
Guide.
public void setFilters(Collection<PatchOrchestratorFilter> filters)
Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
Classification
Sample values: Security
| SecurityUpdates
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
Severity
Sample values: Important
| Medium
| Low
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User Guide.
filters
- Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
Classification
Sample values: Security
| SecurityUpdates
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
Severity
Sample values: Important
| Medium
| Low
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User
Guide.
public DescribeInstancePatchesRequest withFilters(PatchOrchestratorFilter... filters)
Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
Classification
Sample values: Security
| SecurityUpdates
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
Severity
Sample values: Important
| Medium
| Low
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User Guide.
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
- Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
Classification
Sample values: Security
| SecurityUpdates
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
Severity
Sample values: Important
| Medium
| Low
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User
Guide.
public DescribeInstancePatchesRequest withFilters(Collection<PatchOrchestratorFilter> filters)
Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
Classification
Sample values: Security
| SecurityUpdates
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
Severity
Sample values: Important
| Medium
| Low
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User Guide.
filters
- Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
Classification
Sample values: Security
| SecurityUpdates
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
Severity
Sample values: Important
| Medium
| Low
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User
Guide.
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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()