Class PublicIpPool.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.PublicIpPool.Builder
-
- Enclosing class:
- PublicIpPool
public static class PublicIpPool.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicIpPool
build()
PublicIpPool.Builder
cidrBlocks(List<String> cidrBlocks)
The CIDR blocks added to this pool.PublicIpPool.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing this pool.PublicIpPool.Builder
copy(PublicIpPool model)
PublicIpPool.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.PublicIpPool.Builder
displayName(String displayName)
A user-friendly name.PublicIpPool.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.PublicIpPool.Builder
id(String id)
The OCID of the public IP pool.PublicIpPool.Builder
lifecycleState(PublicIpPool.LifecycleState lifecycleState)
The public IP pool’s current state.PublicIpPool.Builder
timeCreated(Date timeCreated)
The date and time the public IP pool was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
cidrBlocks
public PublicIpPool.Builder cidrBlocks(List<String> cidrBlocks)
The CIDR blocks added to this pool.This could be all or a portion of a BYOIP CIDR block.
- Parameters:
cidrBlocks
- the value to set- Returns:
- this builder
-
compartmentId
public PublicIpPool.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this pool.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public PublicIpPool.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
displayName
public PublicIpPool.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
freeformTags
public PublicIpPool.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
id
public PublicIpPool.Builder id(String id)
The OCID of the public IP pool.- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public PublicIpPool.Builder lifecycleState(PublicIpPool.LifecycleState lifecycleState)
The public IP pool’s current state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public PublicIpPool.Builder timeCreated(Date timeCreated)
The date and time the public IP pool was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public PublicIpPool build()
-
copy
public PublicIpPool.Builder copy(PublicIpPool model)
-
-