Class ReceiptRuleSetMetadata
- java.lang.Object
-
- com.amazonaws.services.simpleemail.model.ReceiptRuleSetMetadata
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ReceiptRuleSetMetadata extends Object implements Serializable, Cloneable
Information about a receipt rule set.
A receipt rule set is a collection of rules that specify what Amazon SES should do with mail it receives on behalf of your account's verified domains.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReceiptRuleSetMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReceiptRuleSetMetadata
clone()
boolean
equals(Object obj)
Date
getCreatedTimestamp()
The date and time the receipt rule set was created.String
getName()
The name of the receipt rule set.int
hashCode()
void
setCreatedTimestamp(Date createdTimestamp)
The date and time the receipt rule set was created.void
setName(String name)
The name of the receipt rule set.String
toString()
Returns a string representation of this object; useful for testing and debugging.ReceiptRuleSetMetadata
withCreatedTimestamp(Date createdTimestamp)
The date and time the receipt rule set was created.ReceiptRuleSetMetadata
withName(String name)
The name of the receipt rule set.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the receipt rule set. The name must:
- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
- Parameters:
name
- The name of the receipt rule set. The name must:- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
-
getName
public String getName()
The name of the receipt rule set. The name must:
- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
- Returns:
- The name of the receipt rule set. The name must:
- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
-
withName
public ReceiptRuleSetMetadata withName(String name)
The name of the receipt rule set. The name must:
- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
- Parameters:
name
- The name of the receipt rule set. The name must:- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedTimestamp
public void setCreatedTimestamp(Date createdTimestamp)
The date and time the receipt rule set was created.
- Parameters:
createdTimestamp
- The date and time the receipt rule set was created.
-
getCreatedTimestamp
public Date getCreatedTimestamp()
The date and time the receipt rule set was created.
- Returns:
- The date and time the receipt rule set was created.
-
withCreatedTimestamp
public ReceiptRuleSetMetadata withCreatedTimestamp(Date createdTimestamp)
The date and time the receipt rule set was created.
- Parameters:
createdTimestamp
- The date and time the receipt rule set was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReceiptRuleSetMetadata clone()
-
-