Interface ListAssociationsRequest.Builder

    • Method Detail

      • 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).

        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:
        #associationFilterList(java.util.Collection)
      • 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

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