Class EmailIpPoolSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.email.model.EmailIpPoolSummary.Builder
-
- Enclosing class:
- EmailIpPoolSummary
public static class EmailIpPoolSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailIpPoolSummarybuild()EmailIpPoolSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the IpPool.EmailIpPoolSummary.Buildercopy(EmailIpPoolSummary model)EmailIpPoolSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.EmailIpPoolSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.EmailIpPoolSummary.Builderid(String id)The unique OCID of the IpPool resource that is immutable on creation.EmailIpPoolSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.EmailIpPoolSummary.BuilderlifecycleState(EmailIpPool.LifecycleState lifecycleState)The current state of the IpPool.EmailIpPoolSummary.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.EmailIpPoolSummary.Buildername(String name)The name of the IpPool.EmailIpPoolSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.EmailIpPoolSummary.BuildertimeCreated(Date timeCreated)The time the IpPool was created.EmailIpPoolSummary.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 EmailIpPoolSummary.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 EmailIpPoolSummary.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 EmailIpPoolSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the IpPool.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public EmailIpPoolSummary.Builder lifecycleState(EmailIpPool.LifecycleState lifecycleState)
The current state of the IpPool.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public EmailIpPoolSummary.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
-
timeCreated
public EmailIpPoolSummary.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 EmailIpPoolSummary.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 EmailIpPoolSummary.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 EmailIpPoolSummary.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 EmailIpPoolSummary.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 EmailIpPoolSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
build
public EmailIpPoolSummary build()
-
copy
public EmailIpPoolSummary.Builder copy(EmailIpPoolSummary model)
-
-