Interface ListAssociationsRequest.Builder

    • Method Detail

      • sourceArn

        ListAssociationsRequest.Builder sourceArn​(String sourceArn)

        A filter that returns only associations with the specified source ARN.

        Parameters:
        sourceArn - A filter that returns only associations with the specified source ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationArn

        ListAssociationsRequest.Builder destinationArn​(String destinationArn)

        A filter that returns only associations with the specified destination Amazon Resource Name (ARN).

        Parameters:
        destinationArn - A filter that returns only associations with the specified destination Amazon Resource Name (ARN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceType

        ListAssociationsRequest.Builder sourceType​(String sourceType)

        A filter that returns only associations with the specified source type.

        Parameters:
        sourceType - A filter that returns only associations with the specified source type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationType

        ListAssociationsRequest.Builder destinationType​(String destinationType)

        A filter that returns only associations with the specified destination type.

        Parameters:
        destinationType - A filter that returns only associations with the specified destination type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associationType

        ListAssociationsRequest.Builder associationType​(String associationType)

        A filter that returns only associations of the specified type.

        Parameters:
        associationType - A filter that returns only associations of the specified type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssociationEdgeType, AssociationEdgeType
      • createdAfter

        ListAssociationsRequest.Builder createdAfter​(Instant createdAfter)

        A filter that returns only associations created on or after the specified time.

        Parameters:
        createdAfter - A filter that returns only associations created on or after the specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBefore

        ListAssociationsRequest.Builder createdBefore​(Instant createdBefore)

        A filter that returns only associations created on or before the specified time.

        Parameters:
        createdBefore - A filter that returns only associations created on or before the specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListAssociationsRequest.Builder sortBy​(String sortBy)

        The property used to sort results. The default value is CreationTime.

        Parameters:
        sortBy - The property used to sort results. The default value is CreationTime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortAssociationsBy, SortAssociationsBy
      • sortOrder

        ListAssociationsRequest.Builder sortOrder​(String sortOrder)

        The sort order. The default value is Descending.

        Parameters:
        sortOrder - The sort order. The default value is Descending.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • sortOrder

        ListAssociationsRequest.Builder sortOrder​(SortOrder sortOrder)

        The sort order. The default value is Descending.

        Parameters:
        sortOrder - The sort order. The default value is Descending.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • nextToken

        ListAssociationsRequest.Builder nextToken​(String nextToken)

        If the previous call to ListAssociations didn't return the full set of associations, the call returns a token for getting the next set of associations.

        Parameters:
        nextToken - If the previous call to ListAssociations didn't return the full set of associations, the call returns a token for getting the next set of associations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListAssociationsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of associations to return in the response. The default value is 10.

        Parameters:
        maxResults - The maximum number of associations to return in the response. The default value is 10.
        Returns:
        Returns a reference to this object so that method calls can be chained together.