Package com.oracle.bmc.email.model
Class CreateEmailIpPoolDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.email.model.CreateEmailIpPoolDetails.Builder
-
- Enclosing class:
- CreateEmailIpPoolDetails
public static class CreateEmailIpPoolDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEmailIpPoolDetailsbuild()CreateEmailIpPoolDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment for this IpPool.CreateEmailIpPoolDetails.Buildercopy(CreateEmailIpPoolDetails model)CreateEmailIpPoolDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateEmailIpPoolDetails.Builderdescription(String description)The description of the IpPool.CreateEmailIpPoolDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateEmailIpPoolDetails.Buildername(String name)The name of the IpPool.CreateEmailIpPoolDetails.BuilderoutboundIps(List<String> outboundIps)A list of outbound public IPs for assignment to the IpPool.
-
-
-
Method Detail
-
name
public CreateEmailIpPoolDetails.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 CreateEmailIpPoolDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment for this IpPool.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
description
public CreateEmailIpPoolDetails.Builder description(String description)
The description of the IpPool.Avoid entering confidential information.
- Parameters:
description- the value to set- Returns:
- this builder
-
outboundIps
public CreateEmailIpPoolDetails.Builder outboundIps(List<String> outboundIps)
A list of outbound public IPs for assignment to the IpPool.These IPs must be in the AVAILABLE state to be eligible for assignment.
- Parameters:
outboundIps- the value to set- Returns:
- this builder
-
freeformTags
public CreateEmailIpPoolDetails.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 CreateEmailIpPoolDetails.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
-
build
public CreateEmailIpPoolDetails build()
-
copy
public CreateEmailIpPoolDetails.Builder copy(CreateEmailIpPoolDetails model)
-
-