Interface ListComplianceItemsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListComplianceItemsRequest.Builder,ListComplianceItemsRequest>, SdkBuilder<ListComplianceItemsRequest.Builder,ListComplianceItemsRequest>, SdkPojo, SdkRequest.Builder, SsmRequest.Builder
Enclosing class:
ListComplianceItemsRequest

public static interface ListComplianceItemsRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<ListComplianceItemsRequest.Builder,ListComplianceItemsRequest>
  • Method Details

    • filters

      One or more compliance filters. Use a filter to return a more specific list of results.

      Parameters:
      filters - One or more compliance filters. Use a filter to return a more specific list of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      One or more compliance filters. Use a filter to return a more specific list of results.

      Parameters:
      filters - One or more compliance filters. Use a filter to return a more specific list of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      One or more compliance filters. Use a filter to return a more specific list of results.

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

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

      Parameters:
      filters - a consumer that will call methods on ComplianceStringFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceIds

      The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.

      Parameters:
      resourceIds - The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIds

      ListComplianceItemsRequest.Builder resourceIds(String... resourceIds)

      The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.

      Parameters:
      resourceIds - The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      ListComplianceItemsRequest.Builder resourceTypes(Collection<String> resourceTypes)

      The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance.

      Parameters:
      resourceTypes - The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      ListComplianceItemsRequest.Builder resourceTypes(String... resourceTypes)

      The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance.

      Parameters:
      resourceTypes - The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      A token to start the list. Use this token to get the next set of results.

      Parameters:
      nextToken - A token to start the list. Use this token to get the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

      Parameters:
      maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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