Interface DescribeInstancePatchesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeInstancePatchesRequest.Builder,
,DescribeInstancePatchesRequest> SdkBuilder<DescribeInstancePatchesRequest.Builder,
,DescribeInstancePatchesRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
DescribeInstancePatchesRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<PatchOrchestratorFilter> filters) Each element in the array is a structure containing a key-value pair.filters
(Consumer<PatchOrchestratorFilter.Builder>... filters) Each element in the array is a structure containing a key-value pair.filters
(PatchOrchestratorFilter... filters) Each element in the array is a structure containing a key-value pair.instanceId
(String instanceId) The ID of the managed node whose patch state information should be retrieved.maxResults
(Integer maxResults) The maximum number of patches to return (per page).The token for the next set of items to return.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
instanceId
The ID of the managed node whose patch state information should be retrieved.
- Parameters:
instanceId
- The ID of the managed node whose patch state information should be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeInstancePatchesRequest.Builder filters(Consumer<PatchOrchestratorFilter.Builder>... 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.
PatchOrchestratorFilter.Builder
avoiding the need to create one manually viaPatchOrchestratorFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<PatchOrchestratorFilter>)
.- Parameters:
filters
- a consumer that will call methods onPatchOrchestratorFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
nextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of patches to return (per page).
- Parameters:
maxResults
- The maximum number of patches to return (per page).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeInstancePatchesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeInstancePatchesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-