Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Vlan.Builder |
availabilityDomain(String availabilityDomain)
The VLAN’s availability domain.
|
Vlan |
build() |
Vlan.Builder |
cidrBlock(String cidrBlock)
The range of IPv4 addresses that will be used for layer 3 communication with hosts
outside the VLAN.
|
Vlan.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the VLAN.
|
Vlan.Builder |
copy(Vlan model) |
Vlan.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Vlan.Builder |
displayName(String displayName)
A user-friendly name.
|
Vlan.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Vlan.Builder |
id(String id)
The VLAN’s Oracle ID
(OCID).
|
Vlan.Builder |
lifecycleState(Vlan.LifecycleState lifecycleState)
The VLAN’s current state.
|
Vlan.Builder |
nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups (NSGs) to use with this VLAN.
|
Vlan.Builder |
routeTableId(String routeTableId)
The OCID
of the route table that the VLAN uses.
|
Vlan.Builder |
timeCreated(Date timeCreated)
The date and time the VLAN was created, in the format defined by
RFC3339.
|
Vlan.Builder |
vcnId(String vcnId)
The OCID
of the VCN the VLAN is in.
|
Vlan.Builder |
vlanTag(Integer vlanTag)
The IEEE 802.1Q VLAN tag of this VLAN.
|
public Vlan.Builder availabilityDomain(String availabilityDomain)
The VLAN’s availability domain. This attribute will be null if this is a regional VLAN rather than an AD-specific VLAN.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic Vlan.Builder cidrBlock(String cidrBlock)
The range of IPv4 addresses that will be used for layer 3 communication with hosts outside the VLAN.
Example: 192.168.1.0/24
cidrBlock
- the value to setpublic Vlan.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the VLAN.
compartmentId
- the value to setpublic Vlan.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"}}
definedTags
- the value to setpublic Vlan.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic Vlan.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"}
freeformTags
- the value to setpublic Vlan.Builder id(String id)
The VLAN’s Oracle ID (OCID).
id
- the value to setpublic Vlan.Builder lifecycleState(Vlan.LifecycleState lifecycleState)
The VLAN’s current state.
lifecycleState
- the value to setpublic Vlan.Builder nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All
VNICs in the VLAN belong to these NSGs. For more information about NSGs, see NetworkSecurityGroup
.
nsgIds
- the value to setpublic Vlan.Builder vlanTag(Integer vlanTag)
The IEEE 802.1Q VLAN tag of this VLAN.
Example: 100
vlanTag
- the value to setpublic Vlan.Builder routeTableId(String routeTableId)
The OCID of the route table that the VLAN uses.
routeTableId
- the value to setpublic Vlan.Builder timeCreated(Date timeCreated)
The date and time the VLAN was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic Vlan.Builder vcnId(String vcnId)
The OCID of the VCN the VLAN is in.
vcnId
- the value to setpublic Vlan build()
public Vlan.Builder copy(Vlan model)
Copyright © 2016–2024. All rights reserved.