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 String
getName()
Returns the name for thisFilterRule
.String
getValue()
Returns the value for thisFilterRule
void
setName(String name)
Sets the name for thisFilterRule
.void
setValue(String value)
Sets the value for thisFilterRule
FilterRule
withName(String name)
Sets the name for thisFilterRule
and returns this object for method chaining.FilterRule
withValue(String value)
Sets the value for thisFilterRule
and 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 thisFilterRule
and 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 thisFilterRule
and returns this object for method chaining- Parameters:
value
- New value for thisFilterRule
- Returns:
- This object for method chaining
-
-