Interface ListAssociationsRequest.Builder

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

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

    • associationFilterList

      ListAssociationsRequest.Builder associationFilterList(Collection<AssociationFilter> associationFilterList)

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

      Filtering associations using the InstanceID attribute only returns legacy associations created using the InstanceID attribute. Associations targeting the managed node that are part of the Target Attributes ResourceGroup or Tags aren't returned.

      Parameters:
      associationFilterList - One or more filters. Use a filter to return a more specific list of results.

      Filtering associations using the InstanceID attribute only returns legacy associations created using the InstanceID attribute. Associations targeting the managed node that are part of the Target Attributes ResourceGroup or Tags aren't returned.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associationFilterList

      ListAssociationsRequest.Builder associationFilterList(AssociationFilter... associationFilterList)

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

      Filtering associations using the InstanceID attribute only returns legacy associations created using the InstanceID attribute. Associations targeting the managed node that are part of the Target Attributes ResourceGroup or Tags aren't returned.

      Parameters:
      associationFilterList - One or more filters. Use a filter to return a more specific list of results.

      Filtering associations using the InstanceID attribute only returns legacy associations created using the InstanceID attribute. Associations targeting the managed node that are part of the Target Attributes ResourceGroup or Tags aren't returned.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associationFilterList

      ListAssociationsRequest.Builder associationFilterList(Consumer<AssociationFilter.Builder>... associationFilterList)

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

      Filtering associations using the InstanceID attribute only returns legacy associations created using the InstanceID attribute. Associations targeting the managed node that are part of the Target Attributes ResourceGroup or Tags aren't returned.

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

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

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

      ListAssociationsRequest.Builder maxResults(Integer 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.
    • 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.
    • overrideConfiguration

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