@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InlineArchiveRule extends Object implements Serializable, Cloneable, StructuredPojo
An criterion statement in an archive rule. Each archive rule may have multiple criteria.
Constructor and Description |
---|
InlineArchiveRule() |
Modifier and Type | Method and Description |
---|---|
InlineArchiveRule |
addFilterEntry(String key,
Criterion value)
Add a single Filter entry
|
InlineArchiveRule |
clearFilterEntries()
Removes all the entries added into Filter.
|
InlineArchiveRule |
clone() |
boolean |
equals(Object obj) |
Map<String,Criterion> |
getFilter()
The condition and values for a criterion.
|
String |
getRuleName()
The name of the rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilter(Map<String,Criterion> filter)
The condition and values for a criterion.
|
void |
setRuleName(String ruleName)
The name of the rule.
|
String |
toString()
Returns a string representation of this object.
|
InlineArchiveRule |
withFilter(Map<String,Criterion> filter)
The condition and values for a criterion.
|
InlineArchiveRule |
withRuleName(String ruleName)
The name of the rule.
|
public void setRuleName(String ruleName)
The name of the rule.
ruleName
- The name of the rule.public String getRuleName()
The name of the rule.
public InlineArchiveRule withRuleName(String ruleName)
The name of the rule.
ruleName
- The name of the rule.public Map<String,Criterion> getFilter()
The condition and values for a criterion.
public void setFilter(Map<String,Criterion> filter)
The condition and values for a criterion.
filter
- The condition and values for a criterion.public InlineArchiveRule withFilter(Map<String,Criterion> filter)
The condition and values for a criterion.
filter
- The condition and values for a criterion.public InlineArchiveRule addFilterEntry(String key, Criterion value)
public InlineArchiveRule clearFilterEntries()
public String toString()
toString
in class Object
Object.toString()
public InlineArchiveRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.