Class Vlan.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.Vlan.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Vlan.BuilderavailabilityDomain(String availabilityDomain)The VLAN’s availability domain.Vlanbuild()Vlan.BuildercidrBlock(String cidrBlock)The range of IPv4 addresses that will be used for layer 3 communication with hosts outside the VLAN.Vlan.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the VLAN.Vlan.Buildercopy(Vlan model)Vlan.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Vlan.BuilderdisplayName(String displayName)A user-friendly name.Vlan.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Vlan.Builderid(String id)The VLAN’s Oracle ID (OCID).Vlan.BuilderlifecycleState(Vlan.LifecycleState lifecycleState)The VLAN’s current state.Vlan.BuildernsgIds(List<String> nsgIds)A list of the OCIDs of the network security groups (NSGs) to use with this VLAN.Vlan.BuilderrouteTableId(String routeTableId)The OCID of the route table that the VLAN uses.Vlan.BuildertimeCreated(Date timeCreated)The date and time the VLAN was created, in the format defined by RFC3339.Vlan.BuildervcnId(String vcnId)The OCID of the VCN the VLAN is in.Vlan.BuildervlanTag(Integer vlanTag)The IEEE 802.1Q VLAN tag of this VLAN.
 
- 
- 
- 
Method Detail- 
availabilityDomainpublic 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 - Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
cidrBlockpublic 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 - Parameters:
- cidrBlock- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Vlan.Builder compartmentId(String compartmentId) The OCID of the compartment containing the VLAN.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Vlan.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
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
idpublic Vlan.Builder id(String id) The VLAN’s Oracle ID (OCID).- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Vlan.Builder lifecycleState(Vlan.LifecycleState lifecycleState) The VLAN’s current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
nsgIdspublic 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.- Parameters:
- nsgIds- the value to set
- Returns:
- this builder
 
 - 
vlanTagpublic Vlan.Builder vlanTag(Integer vlanTag) The IEEE 802.1Q VLAN tag of this VLAN.Example: 100 - Parameters:
- vlanTag- the value to set
- Returns:
- this builder
 
 - 
routeTableIdpublic Vlan.Builder routeTableId(String routeTableId) The OCID of the route table that the VLAN uses.- Parameters:
- routeTableId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
vcnIdpublic Vlan.Builder vcnId(String vcnId) The OCID of the VCN the VLAN is in.- Parameters:
- vcnId- the value to set
- Returns:
- this builder
 
 - 
buildpublic Vlan build() 
 - 
copypublic Vlan.Builder copy(Vlan model) 
 
- 
 
-