Interface S3KeyFilter.Builder

    • Method Detail

      • filterRules

        S3KeyFilter.Builder filterRules​(Collection<FilterRule> filterRules)
        Sets the value of the FilterRules property for this object.
        Parameters:
        filterRules - The new value for the FilterRules property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filterRules

        S3KeyFilter.Builder filterRules​(FilterRule... filterRules)
        Sets the value of the FilterRules property for this object.
        Parameters:
        filterRules - The new value for the FilterRules property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filterRules

        S3KeyFilter.Builder filterRules​(Consumer<FilterRule.Builder>... filterRules)
        Sets the value of the FilterRules property for this object. This is a convenience method that creates an instance of the FilterRule.Builder avoiding the need to create one manually via FilterRule.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #filterRules(List).

        Parameters:
        filterRules - a consumer that will call methods on FilterRule.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filterRules(java.util.Collection)