Package com.oracle.bmc.core.model
Class ByoasnByoipRange.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.ByoasnByoipRange.Builder
-
- Enclosing class:
- ByoasnByoipRange
public static class ByoasnByoipRange.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByoasnByoipRange.Builder
asPathPrependLength(Integer asPathPrependLength)
The as path prepend length.ByoasnByoipRange
build()
ByoasnByoipRange.Builder
byoipRangeId(String byoipRangeId)
The OCID of the ByoipRange resource to which the CIDR block belongs.ByoasnByoipRange.Builder
cidrBlock(String cidrBlock)
The BYOIP CIDR block range or subrange allocated to an IP pool.ByoasnByoipRange.Builder
copy(ByoasnByoipRange model)
ByoasnByoipRange.Builder
ipv6CidrBlock(String ipv6CidrBlock)
The IPv6 prefix being imported to the Oracle cloud.
-
-
-
Method Detail
-
cidrBlock
public ByoasnByoipRange.Builder cidrBlock(String cidrBlock)
The BYOIP CIDR block range or subrange allocated to an IP pool.This could be all or part of a BYOIP CIDR block.
- Parameters:
cidrBlock
- the value to set- Returns:
- this builder
-
ipv6CidrBlock
public ByoasnByoipRange.Builder ipv6CidrBlock(String ipv6CidrBlock)
The IPv6 prefix being imported to the Oracle cloud.This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- Parameters:
ipv6CidrBlock
- the value to set- Returns:
- this builder
-
byoipRangeId
public ByoasnByoipRange.Builder byoipRangeId(String byoipRangeId)
The OCID of the ByoipRange resource to which the CIDR block belongs.- Parameters:
byoipRangeId
- the value to set- Returns:
- this builder
-
asPathPrependLength
public ByoasnByoipRange.Builder asPathPrependLength(Integer asPathPrependLength)
The as path prepend length.- Parameters:
asPathPrependLength
- the value to set- Returns:
- this builder
-
build
public ByoasnByoipRange build()
-
copy
public ByoasnByoipRange.Builder copy(ByoasnByoipRange model)
-
-