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 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 DescribeInstancePatchesinclude 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 DescribeInstancePatchesinclude 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 DescribeInstancePatchesinclude 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 DescribeInstancePatchesinclude 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 DescribeInstancePatchesinclude 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.

      This is a convenience method that creates an instance of the PatchOrchestratorFilter.Builder avoiding the need to create one manually via PatchOrchestratorFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<PatchOrchestratorFilter>).

      Parameters:
      filters - a consumer that will call methods on PatchOrchestratorFilter.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.