Class ByoipRangeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.ByoipRangeSummary.Builder
-
- Enclosing class:
- ByoipRangeSummary
public static class ByoipRangeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByoipRangeSummarybuild()ByoipRangeSummary.BuilderbyoipRangeVcnIpv6Allocations(List<ByoipRangeVcnIpv6AllocationSummary> byoipRangeVcnIpv6Allocations)A list of ByoipRangeVcnIpv6AllocationSummary objects.ByoipRangeSummary.BuildercidrBlock(String cidrBlock)The public IPv4 address range you are importing to the Oracle cloud.ByoipRangeSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the ByoipRange resource.ByoipRangeSummary.Buildercopy(ByoipRangeSummary model)ByoipRangeSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ByoipRangeSummary.BuilderdisplayName(String displayName)A user-friendly name.ByoipRangeSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ByoipRangeSummary.Builderid(String id)The OCID of the ByoipRange resource.ByoipRangeSummary.Builderipv6CidrBlock(String ipv6CidrBlock)The IPv6 CIDR block being imported to the Oracle cloud.ByoipRangeSummary.BuilderlifecycleDetails(ByoipRange.LifecycleDetails lifecycleDetails)The Byoip Range’s current lifeCycle substate.ByoipRangeSummary.BuilderlifecycleState(ByoipRange.LifecycleState lifecycleState)The ByoipRange resource’s current state.ByoipRangeSummary.BuildertimeCreated(Date timeCreated)The date and time the ByoipRange resource was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
byoipRangeVcnIpv6Allocations
public ByoipRangeSummary.Builder byoipRangeVcnIpv6Allocations(List<ByoipRangeVcnIpv6AllocationSummary> byoipRangeVcnIpv6Allocations)
A list of ByoipRangeVcnIpv6AllocationSummary objects.- Parameters:
byoipRangeVcnIpv6Allocations- the value to set- Returns:
- this builder
-
cidrBlock
public ByoipRangeSummary.Builder cidrBlock(String cidrBlock)
The public IPv4 address range you are importing to the Oracle cloud.- Parameters:
cidrBlock- the value to set- Returns:
- this builder
-
compartmentId
public ByoipRangeSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the ByoipRange resource.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public ByoipRangeSummary.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 ByoipRangeSummary.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 ByoipRangeSummary.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 ByoipRangeSummary.Builder id(String id)
The OCID of the ByoipRange resource.- Parameters:
id- the value to set- Returns:
- this builder
-
ipv6CidrBlock
public ByoipRangeSummary.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 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
-
lifecycleState
public ByoipRangeSummary.Builder lifecycleState(ByoipRange.LifecycleState lifecycleState)
The ByoipRange resource’s current state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ByoipRangeSummary.Builder lifecycleDetails(ByoipRange.LifecycleDetails lifecycleDetails)
The Byoip Range’s current lifeCycle substate.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public ByoipRangeSummary.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
-
build
public ByoipRangeSummary build()
-
copy
public ByoipRangeSummary.Builder copy(ByoipRangeSummary model)
-
-