@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArchiveRuleSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an archive rule.
Constructor and Description |
---|
ArchiveRuleSummary() |
Modifier and Type | Method and Description |
---|---|
ArchiveRuleSummary |
addFilterEntry(String key,
Criterion value)
Add a single Filter entry
|
ArchiveRuleSummary |
clearFilterEntries()
Removes all the entries added into Filter.
|
ArchiveRuleSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The time at which the archive rule was created.
|
Map<String,Criterion> |
getFilter()
A filter used to define the archive rule.
|
String |
getRuleName()
The name of the archive rule.
|
Date |
getUpdatedAt()
The time at which the archive rule was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The time at which the archive rule was created.
|
void |
setFilter(Map<String,Criterion> filter)
A filter used to define the archive rule.
|
void |
setRuleName(String ruleName)
The name of the archive rule.
|
void |
setUpdatedAt(Date updatedAt)
The time at which the archive rule was last updated.
|
String |
toString()
Returns a string representation of this object.
|
ArchiveRuleSummary |
withCreatedAt(Date createdAt)
The time at which the archive rule was created.
|
ArchiveRuleSummary |
withFilter(Map<String,Criterion> filter)
A filter used to define the archive rule.
|
ArchiveRuleSummary |
withRuleName(String ruleName)
The name of the archive rule.
|
ArchiveRuleSummary |
withUpdatedAt(Date updatedAt)
The time at which the archive rule was last updated.
|
public void setRuleName(String ruleName)
The name of the archive rule.
ruleName
- The name of the archive rule.public String getRuleName()
The name of the archive rule.
public ArchiveRuleSummary withRuleName(String ruleName)
The name of the archive rule.
ruleName
- The name of the archive rule.public Map<String,Criterion> getFilter()
A filter used to define the archive rule.
public void setFilter(Map<String,Criterion> filter)
A filter used to define the archive rule.
filter
- A filter used to define the archive rule.public ArchiveRuleSummary withFilter(Map<String,Criterion> filter)
A filter used to define the archive rule.
filter
- A filter used to define the archive rule.public ArchiveRuleSummary addFilterEntry(String key, Criterion value)
public ArchiveRuleSummary clearFilterEntries()
public void setCreatedAt(Date createdAt)
The time at which the archive rule was created.
createdAt
- The time at which the archive rule was created.public Date getCreatedAt()
The time at which the archive rule was created.
public ArchiveRuleSummary withCreatedAt(Date createdAt)
The time at which the archive rule was created.
createdAt
- The time at which the archive rule was created.public void setUpdatedAt(Date updatedAt)
The time at which the archive rule was last updated.
updatedAt
- The time at which the archive rule was last updated.public Date getUpdatedAt()
The time at which the archive rule was last updated.
public ArchiveRuleSummary withUpdatedAt(Date updatedAt)
The time at which the archive rule was last updated.
updatedAt
- The time at which the archive rule was last updated.public String toString()
toString
in class Object
Object.toString()
public ArchiveRuleSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.