public class ReceiptRuleSetMetadata
extends java.lang.Object
implements java.io.Serializable
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.
Constructor and Description |
---|
ReceiptRuleSetMetadata() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreatedTimestamp()
The date and time the receipt rule set was created.
|
java.lang.String |
getName()
The name of the receipt rule set.
|
int |
hashCode() |
void |
setCreatedTimestamp(java.util.Date createdTimestamp)
The date and time the receipt rule set was created.
|
void |
setName(java.lang.String name)
The name of the receipt rule set.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReceiptRuleSetMetadata |
withCreatedTimestamp(java.util.Date createdTimestamp)
The date and time the receipt rule set was created.
|
ReceiptRuleSetMetadata |
withName(java.lang.String name)
The name of the receipt rule set.
|
public java.lang.String getName()
The name of the receipt rule set. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
The name of the receipt rule set. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public void setName(java.lang.String name)
The name of the receipt rule set. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
name
- The name of the receipt rule set. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public ReceiptRuleSetMetadata withName(java.lang.String name)
The name of the receipt rule set. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
Returns a reference to this object so that method calls can be chained together.
name
- The name of the receipt rule set. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public java.util.Date getCreatedTimestamp()
The date and time the receipt rule set was created.
The date and time the receipt rule set was created.
public void setCreatedTimestamp(java.util.Date createdTimestamp)
The date and time the receipt rule set was created.
createdTimestamp
- The date and time the receipt rule set was created.
public ReceiptRuleSetMetadata withCreatedTimestamp(java.util.Date createdTimestamp)
The date and time the receipt rule set was created.
Returns a reference to this object so that method calls can be chained together.
createdTimestamp
- The date and time the receipt rule set was created.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.