Class EmailIpPool.Builder
- java.lang.Object
-
- com.oracle.bmc.email.model.EmailIpPool.Builder
-
- Enclosing class:
- EmailIpPool
public static class EmailIpPool.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailIpPoolbuild()EmailIpPool.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the IpPool.EmailIpPool.Buildercopy(EmailIpPool model)EmailIpPool.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.EmailIpPool.Builderdescription(String description)The description of the IpPool.EmailIpPool.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.EmailIpPool.Builderid(String id)The unique OCID of the IpPool resource that is immutable on creation.EmailIpPool.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.EmailIpPool.BuilderlifecycleState(EmailIpPool.LifecycleState lifecycleState)The current state of the IpPool.EmailIpPool.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.EmailIpPool.Buildername(String name)The name of the IpPool.EmailIpPool.BuilderoutboundIps(List<EmailOutboundIpSummary> outboundIps)Summary of outbound IPs assigned to the IpPool.EmailIpPool.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.EmailIpPool.BuildertimeCreated(Date timeCreated)The time the IpPool was created.EmailIpPool.BuildertimeUpdated(Date timeUpdated)The time of the last change to the IpPool, due to a state change or an update operation.
-
-
-
Method Detail
-
id
public EmailIpPool.Builder id(String id)
The unique OCID of the IpPool resource that is immutable on creation.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public EmailIpPool.Builder name(String name)
The name of the IpPool.The name must be unique within a region. The name is case sensitive and supported characters include alphanumeric, hyphens (“-”) and underscore (“_”) characters.
Example: green_pool-1
- Parameters:
name- the value to set- Returns:
- this builder
-
compartmentId
public EmailIpPool.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the IpPool.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
description
public EmailIpPool.Builder description(String description)
The description of the IpPool.Avoid entering confidential information.
- Parameters:
description- the value to set- Returns:
- this builder
-
lifecycleState
public EmailIpPool.Builder lifecycleState(EmailIpPool.LifecycleState lifecycleState)
The current state of the IpPool.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public EmailIpPool.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in ‘INACTIVE’ state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
outboundIps
public EmailIpPool.Builder outboundIps(List<EmailOutboundIpSummary> outboundIps)
Summary of outbound IPs assigned to the IpPool.- Parameters:
outboundIps- the value to set- Returns:
- this builder
-
timeCreated
public EmailIpPool.Builder timeCreated(Date timeCreated)
The time the IpPool was created.Times are expressed in RFC 3339 timestamp format, “YYYY-MM-ddThh:mmZ”.
Example: 2021-02-12T22:47:12.613Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public EmailIpPool.Builder timeUpdated(Date timeUpdated)
The time of the last change to the IpPool, due to a state change or an update operation.Times are expressed in RFC 3339 timestamp format, “YYYY-MM-ddThh:mmZ”.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public EmailIpPool.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 EmailIpPool.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 EmailIpPool.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 EmailIpPool.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
build
public EmailIpPool build()
-
copy
public EmailIpPool.Builder copy(EmailIpPool model)
-
-