Package com.oracle.bmc.email.model
Class Sender.Builder
- java.lang.Object
-
- com.oracle.bmc.email.model.Sender.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Senderbuild()Sender.BuildercompartmentId(String compartmentId)The OCID for the compartment.Sender.Buildercopy(Sender model)Sender.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Sender.BuilderemailAddress(String emailAddress)Email address of the sender.Sender.BuilderemailDomainId(String emailDomainId)The email domain used to assert responsibility for emails sent from this sender.Sender.BuilderemailIpPoolId(String emailIpPoolId)The IpPool OCID used to submit an email by Email Delivery when sent from this sender.Sender.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Sender.Builderid(String id)The unique OCID of the sender.Sender.BuilderisSpf(Boolean isSpf)Value of the SPF field.Sender.BuilderlifecycleState(Sender.LifecycleState lifecycleState)The sender’s current lifecycle state.Sender.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.Sender.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Sender.BuildertimeCreated(Date timeCreated)The date and time the approved sender was added in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339.
-
-
-
Method Detail
-
compartmentId
public Sender.Builder compartmentId(String compartmentId)
The OCID for the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
emailAddress
public Sender.Builder emailAddress(String emailAddress)
Email address of the sender.- Parameters:
emailAddress- the value to set- Returns:
- this builder
-
id
public Sender.Builder id(String id)
The unique OCID of the sender.- Parameters:
id- the value to set- Returns:
- this builder
-
isSpf
public Sender.Builder isSpf(Boolean isSpf)
Value of the SPF field.For more information about SPF, please see SPF Authentication.
- Parameters:
isSpf- the value to set- Returns:
- this builder
-
lifecycleState
public Sender.Builder lifecycleState(Sender.LifecycleState lifecycleState)
The sender’s current lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public Sender.Builder timeCreated(Date timeCreated)
The date and time the approved sender was added in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
emailDomainId
public Sender.Builder emailDomainId(String emailDomainId)
The email domain used to assert responsibility for emails sent from this sender.- Parameters:
emailDomainId- the value to set- Returns:
- this builder
-
emailIpPoolId
public Sender.Builder emailIpPoolId(String emailIpPoolId)
The IpPool OCID used to submit an email by Email Delivery when sent from this sender.- Parameters:
emailIpPoolId- the value to set- Returns:
- this builder
-
freeformTags
public Sender.Builder freeformTags(Map<String,String> freeformTags)
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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public Sender.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public Sender.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
locks
public Sender.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
build
public Sender build()
-
copy
public Sender.Builder copy(Sender model)
-
-