Class FilterRule

java.lang.Object
com.amazonaws.services.s3.model.FilterRule
All Implemented Interfaces:
Serializable

public class FilterRule extends Object implements Serializable
Model class representing a Filter Rule for a NotificationConfiguration.
See Also:
  • Constructor Details

    • FilterRule

      public FilterRule()
  • Method Details

    • getName

      public String getName()
      Returns the name for this FilterRule.
      Returns:
      Name of this FilterRule
    • setName

      public void setName(String name)
      Sets the name for this FilterRule.
      Parameters:
      name - New name for this FilterRule.
    • withName

      public FilterRule withName(String name)
      Sets the name for this FilterRule and returns this object for method chaining.
      Parameters:
      name - New name for this FilterRule.
      Returns:
      This object for method chaining
    • getValue

      public String getValue()
      Returns the value for this FilterRule
      Returns:
      Value for this FilterRule
    • setValue

      public void setValue(String value)
      Sets the value for this FilterRule
      Parameters:
      value - New value for this FilterRule
    • withValue

      public FilterRule withValue(String value)
      Sets the value for this FilterRule and returns this object for method chaining
      Parameters:
      value - New value for this FilterRule
      Returns:
      This object for method chaining