Package com.amazonaws.services.s3.model
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 aNotificationConfiguration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FilterRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the name for thisFilterRule.StringgetValue()Returns the value for thisFilterRulevoidsetName(String name)Sets the name for thisFilterRule.voidsetValue(String value)Sets the value for thisFilterRuleFilterRulewithName(String name)Sets the name for thisFilterRuleand returns this object for method chaining.FilterRulewithValue(String value)Sets the value for thisFilterRuleand returns this object for method chaining
-
-
-
Method Detail
-
getName
public String getName()
Returns the name for thisFilterRule.- Returns:
- Name of this
FilterRule
-
setName
public void setName(String name)
Sets the name for thisFilterRule.- Parameters:
name- New name for thisFilterRule.
-
withName
public FilterRule withName(String name)
Sets the name for thisFilterRuleand returns this object for method chaining.- Parameters:
name- New name for thisFilterRule.- Returns:
- This object for method chaining
-
getValue
public String getValue()
Returns the value for thisFilterRule- Returns:
- Value for this
FilterRule
-
setValue
public void setValue(String value)
Sets the value for thisFilterRule- Parameters:
value- New value for thisFilterRule
-
withValue
public FilterRule withValue(String value)
Sets the value for thisFilterRuleand returns this object for method chaining- Parameters:
value- New value for thisFilterRule- Returns:
- This object for method chaining
-
-