Class CrossConnectGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.CrossConnectGroup.Builder
-
- Enclosing class:
- CrossConnectGroup
public static class CrossConnectGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrossConnectGroupbuild()CrossConnectGroup.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the cross-connect group.CrossConnectGroup.Buildercopy(CrossConnectGroup model)CrossConnectGroup.BuildercustomerReferenceName(String customerReferenceName)A reference name or identifier for the physical fiber connection that this cross-connect group uses.CrossConnectGroup.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CrossConnectGroup.BuilderdisplayName(String displayName)A user-friendly name.CrossConnectGroup.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CrossConnectGroup.Builderid(String id)The cross-connect group’s Oracle ID (OCID).CrossConnectGroup.BuilderlifecycleState(CrossConnectGroup.LifecycleState lifecycleState)The cross-connect group’s current state.CrossConnectGroup.BuildermacsecProperties(MacsecProperties macsecProperties)CrossConnectGroup.BuilderociLogicalDeviceName(String ociLogicalDeviceName)The FastConnect device that terminates the logical connection.CrossConnectGroup.BuilderociPhysicalDeviceName(String ociPhysicalDeviceName)The FastConnect device that terminates the physical connection.CrossConnectGroup.BuildertimeCreated(Date timeCreated)The date and time the cross-connect group was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
compartmentId
public CrossConnectGroup.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the cross-connect group.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public CrossConnectGroup.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 CrossConnectGroup.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 CrossConnectGroup.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 CrossConnectGroup.Builder id(String id)
The cross-connect group’s Oracle ID (OCID).- Parameters:
id- the value to set- Returns:
- this builder
-
lifecycleState
public CrossConnectGroup.Builder lifecycleState(CrossConnectGroup.LifecycleState lifecycleState)
The cross-connect group’s current state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
customerReferenceName
public CrossConnectGroup.Builder customerReferenceName(String customerReferenceName)
A reference name or identifier for the physical fiber connection that this cross-connect group uses.- Parameters:
customerReferenceName- the value to set- Returns:
- this builder
-
timeCreated
public CrossConnectGroup.Builder timeCreated(Date timeCreated)
The date and time the cross-connect group was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
macsecProperties
public CrossConnectGroup.Builder macsecProperties(MacsecProperties macsecProperties)
-
ociPhysicalDeviceName
public CrossConnectGroup.Builder ociPhysicalDeviceName(String ociPhysicalDeviceName)
The FastConnect device that terminates the physical connection.- Parameters:
ociPhysicalDeviceName- the value to set- Returns:
- this builder
-
ociLogicalDeviceName
public CrossConnectGroup.Builder ociLogicalDeviceName(String ociLogicalDeviceName)
The FastConnect device that terminates the logical connection.This device might be different than the device that terminates the physical connection.
- Parameters:
ociLogicalDeviceName- the value to set- Returns:
- this builder
-
build
public CrossConnectGroup build()
-
copy
public CrossConnectGroup.Builder copy(CrossConnectGroup model)
-
-