Class ByoipRange.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.ByoipRange.Builder
-
- Enclosing class:
- ByoipRange
public static class ByoipRange.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByoipRange
build()
ByoipRange.Builder
byoipRangeVcnIpv6Allocations(List<ByoipRangeVcnIpv6AllocationSummary> byoipRangeVcnIpv6Allocations)
A list of ByoipRangeVcnIpv6AllocationSummary objects.ByoipRange.Builder
cidrBlock(String cidrBlock)
The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.ByoipRange.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the BYOIP CIDR block.ByoipRange.Builder
copy(ByoipRange model)
ByoipRange.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ByoipRange.Builder
displayName(String displayName)
A user-friendly name.ByoipRange.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ByoipRange.Builder
id(String id)
The OCID of the ByoipRange resource.ByoipRange.Builder
ipv6CidrBlock(String ipv6CidrBlock)
The IPv6 CIDR block being imported to the Oracle cloud.ByoipRange.Builder
lifecycleDetails(ByoipRange.LifecycleDetails lifecycleDetails)
The ByoipRange resource’s current status.ByoipRange.Builder
lifecycleState(ByoipRange.LifecycleState lifecycleState)
The ByoipRange resource’s current state.ByoipRange.Builder
timeAdvertised(Date timeAdvertised)
The date and time the ByoipRange resource was advertised to the internet by BGP, in the format defined by RFC3339.ByoipRange.Builder
timeCreated(Date timeCreated)
The date and time the ByoipRange resource was created, in the format defined by RFC3339.ByoipRange.Builder
timeValidated(Date timeValidated)
The date and time the ByoipRange resource was validated, in the format defined by RFC3339.ByoipRange.Builder
timeWithdrawn(Date timeWithdrawn)
The date and time the ByoipRange resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339.ByoipRange.Builder
validationToken(String validationToken)
The validation token is an internally-generated ASCII string used in the validation process.
-
-
-
Method Detail
-
byoipRangeVcnIpv6Allocations
public ByoipRange.Builder byoipRangeVcnIpv6Allocations(List<ByoipRangeVcnIpv6AllocationSummary> byoipRangeVcnIpv6Allocations)
A list of ByoipRangeVcnIpv6AllocationSummary objects.- Parameters:
byoipRangeVcnIpv6Allocations
- the value to set- Returns:
- this builder
-
cidrBlock
public ByoipRange.Builder cidrBlock(String cidrBlock)
The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.- Parameters:
cidrBlock
- the value to set- Returns:
- this builder
-
compartmentId
public ByoipRange.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the BYOIP CIDR block.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public ByoipRange.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 ByoipRange.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 ByoipRange.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 ByoipRange.Builder id(String id)
The OCID of the ByoipRange resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
ipv6CidrBlock
public ByoipRange.Builder ipv6CidrBlock(String ipv6CidrBlock)
The IPv6 CIDR block being imported to the Oracle cloud.This CIDR block must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also 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
-
lifecycleDetails
public ByoipRange.Builder lifecycleDetails(ByoipRange.LifecycleDetails lifecycleDetails)
The ByoipRange resource’s current status.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
lifecycleState
public ByoipRange.Builder lifecycleState(ByoipRange.LifecycleState lifecycleState)
The ByoipRange resource’s current state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ByoipRange.Builder timeCreated(Date timeCreated)
The date and time the ByoipRange resource was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeValidated
public ByoipRange.Builder timeValidated(Date timeValidated)
The date and time the ByoipRange resource was validated, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeValidated
- the value to set- Returns:
- this builder
-
timeAdvertised
public ByoipRange.Builder timeAdvertised(Date timeAdvertised)
The date and time the ByoipRange resource was advertised to the internet by BGP, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeAdvertised
- the value to set- Returns:
- this builder
-
timeWithdrawn
public ByoipRange.Builder timeWithdrawn(Date timeWithdrawn)
The date and time the ByoipRange resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeWithdrawn
- the value to set- Returns:
- this builder
-
validationToken
public ByoipRange.Builder validationToken(String validationToken)
The validation token is an internally-generated ASCII string used in the validation process.See Importing a CIDR block for details.
- Parameters:
validationToken
- the value to set- Returns:
- this builder
-
build
public ByoipRange build()
-
copy
public ByoipRange.Builder copy(ByoipRange model)
-
-