@Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public final class EmailDomain extends Object
The properties that define a email domain. A Email Domain contains configuration used to assert responsibility for emails sent from that domain.
EmailDomain.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the EmailDomain.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
EmailDomain.Builder |
static class |
EmailDomain.LifecycleState
The current state of the email domain.
|
Constructor and Description |
---|
EmailDomain(String name,
String id,
String compartmentId,
EmailDomain.LifecycleState lifecycleState,
String activeDkimId,
Boolean isSpf,
String description,
Date timeCreated,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static EmailDomain.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getActiveDkimId()
The OCID of the DKIM key
that will be used to sign mail sent from this email domain.
|
String |
getCompartmentId()
The OCID of the compartment that contains this email domain.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
The description of a email domain.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getId()
The OCID of the email domain.
|
Boolean |
getIsSpf()
Value of the SPF field.
|
EmailDomain.LifecycleState |
getLifecycleState()
The current state of the email domain.
|
String |
getName()
The name of the email domain in the Internet Domain Name System (DNS).
|
Map<String,Map<String,Object>> |
getSystemTags()
Usage of system tag keys.
|
Date |
getTimeCreated()
The time the email domain was created, expressed in RFC 3339
timestamp format, “YYYY-MM-ddThh:mmZ”.
|
int |
hashCode() |
EmailDomain.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"name","id","compartmentId","lifecycleState","activeDkimId","isSpf","description","timeCreated","freeformTags","definedTags","systemTags"}) public EmailDomain(String name, String id, String compartmentId, EmailDomain.LifecycleState lifecycleState, String activeDkimId, Boolean isSpf, String description, Date timeCreated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static EmailDomain.Builder builder()
Create a new builder.
public EmailDomain.Builder toBuilder()
public String getName()
The name of the email domain in the Internet Domain Name System (DNS).
Example: example.net
public String getCompartmentId()
The OCID of the compartment that contains this email domain.
public EmailDomain.LifecycleState getLifecycleState()
The current state of the email domain.
public String getActiveDkimId()
The OCID of the DKIM key that will be used to sign mail sent from this email domain.
public Boolean getIsSpf()
Value of the SPF field. For more information about SPF, please see SPF Authentication.
public String getDescription()
The description of a email domain.
public Date getTimeCreated()
The time the email domain was created, expressed in RFC 3339 timestamp format, “YYYY-MM-ddThh:mmZ”.
Example: 2021-02-12T22:47:12.613Z
public Map<String,String> getFreeformTags()
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys. These predefined keys are scoped to namespaces.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
Copyright © 2016–2022. All rights reserved.