Interface DescribeInstancePatchesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeInstancePatchesRequest.Builder,DescribeInstancePatchesRequest>,SdkBuilder<DescribeInstancePatchesRequest.Builder,DescribeInstancePatchesRequest>,SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- DescribeInstancePatchesRequest
public static interface DescribeInstancePatchesRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<DescribeInstancePatchesRequest.Builder,DescribeInstancePatchesRequest>
-
-
Method Summary
-
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 Detail
-
instanceId
DescribeInstancePatchesRequest.Builder instanceId(String 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
DescribeInstancePatchesRequest.Builder filters(Collection<PatchOrchestratorFilter> filters)
Each element in the array is a structure containing a key-value pair.
Supported keys for
DescribeInstancePatchesinclude the following:-
ClassificationSample values:
Security|SecurityUpdates -
KBIdSample values:
KB4480056|java-1.7.0-openjdk.x86_64 -
SeveritySample values:
Important|Medium|Low -
StateSample values:
Installed|InstalledOther|InstalledPendingRebootFor lists of all
Statevalues, see 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
DescribeInstancePatchesinclude the following:-
ClassificationSample values:
Security|SecurityUpdates -
KBIdSample values:
KB4480056|java-1.7.0-openjdk.x86_64 -
SeveritySample values:
Important|Medium|Low -
StateSample values:
Installed|InstalledOther|InstalledPendingRebootFor lists of all
Statevalues, see 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(PatchOrchestratorFilter... filters)
Each element in the array is a structure containing a key-value pair.
Supported keys for
DescribeInstancePatchesinclude the following:-
ClassificationSample values:
Security|SecurityUpdates -
KBIdSample values:
KB4480056|java-1.7.0-openjdk.x86_64 -
SeveritySample values:
Important|Medium|Low -
StateSample values:
Installed|InstalledOther|InstalledPendingRebootFor lists of all
Statevalues, see 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
DescribeInstancePatchesinclude the following:-
ClassificationSample values:
Security|SecurityUpdates -
KBIdSample values:
KB4480056|java-1.7.0-openjdk.x86_64 -
SeveritySample values:
Important|Medium|Low -
StateSample values:
Installed|InstalledOther|InstalledPendingRebootFor lists of all
Statevalues, see 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
DescribeInstancePatchesinclude the following:-
ClassificationSample values:
Security|SecurityUpdates -
KBIdSample values:
KB4480056|java-1.7.0-openjdk.x86_64 -
SeveritySample values:
Important|Medium|Low -
StateSample values:
Installed|InstalledOther|InstalledPendingRebootFor lists of all
Statevalues, see Patch compliance state values in the Amazon Web Services Systems Manager User Guide.
PatchOrchestratorFilter.Builderavoiding the need to create one manually viaPatchOrchestratorFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
-
nextToken
DescribeInstancePatchesRequest.Builder nextToken(String 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
DescribeInstancePatchesRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeInstancePatchesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-