Class CrossConnect.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.CrossConnect.Builder
-
- Enclosing class:
- CrossConnect
public static class CrossConnect.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrossConnect
build()
CrossConnect.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the cross-connect group.CrossConnect.Builder
copy(CrossConnect model)
CrossConnect.Builder
crossConnectGroupId(String crossConnectGroupId)
The OCID of the cross-connect group this cross-connect belongs to (if any).CrossConnect.Builder
customerReferenceName(String customerReferenceName)
A reference name or identifier for the physical fiber connection that this cross-connect uses.CrossConnect.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CrossConnect.Builder
displayName(String displayName)
A user-friendly name.CrossConnect.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CrossConnect.Builder
id(String id)
The cross-connect’s Oracle ID (OCID).CrossConnect.Builder
lifecycleState(CrossConnect.LifecycleState lifecycleState)
The cross-connect’s current state.CrossConnect.Builder
locationName(String locationName)
The name of the FastConnect location where this cross-connect is installed.CrossConnect.Builder
macsecProperties(MacsecProperties macsecProperties)
CrossConnect.Builder
ociLogicalDeviceName(String ociLogicalDeviceName)
The FastConnect device that terminates the logical connection.CrossConnect.Builder
ociPhysicalDeviceName(String ociPhysicalDeviceName)
The FastConnect device that terminates the physical connection.CrossConnect.Builder
portName(String portName)
A string identifying the meet-me room port for this cross-connect.CrossConnect.Builder
portSpeedShapeName(String portSpeedShapeName)
The port speed for this cross-connect.CrossConnect.Builder
timeCreated(Date timeCreated)
The date and time the cross-connect was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
compartmentId
public CrossConnect.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the cross-connect group.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
crossConnectGroupId
public CrossConnect.Builder crossConnectGroupId(String crossConnectGroupId)
The OCID of the cross-connect group this cross-connect belongs to (if any).- Parameters:
crossConnectGroupId
- the value to set- Returns:
- this builder
-
definedTags
public CrossConnect.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 CrossConnect.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 CrossConnect.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 CrossConnect.Builder id(String id)
The cross-connect’s Oracle ID (OCID).- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public CrossConnect.Builder lifecycleState(CrossConnect.LifecycleState lifecycleState)
The cross-connect’s current state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
locationName
public CrossConnect.Builder locationName(String locationName)
The name of the FastConnect location where this cross-connect is installed.- Parameters:
locationName
- the value to set- Returns:
- this builder
-
portName
public CrossConnect.Builder portName(String portName)
A string identifying the meet-me room port for this cross-connect.- Parameters:
portName
- the value to set- Returns:
- this builder
-
portSpeedShapeName
public CrossConnect.Builder portSpeedShapeName(String portSpeedShapeName)
The port speed for this cross-connect.Example: 10 Gbps
- Parameters:
portSpeedShapeName
- the value to set- Returns:
- this builder
-
customerReferenceName
public CrossConnect.Builder customerReferenceName(String customerReferenceName)
A reference name or identifier for the physical fiber connection that this cross-connect uses.- Parameters:
customerReferenceName
- the value to set- Returns:
- this builder
-
timeCreated
public CrossConnect.Builder timeCreated(Date timeCreated)
The date and time the cross-connect 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 CrossConnect.Builder macsecProperties(MacsecProperties macsecProperties)
-
ociPhysicalDeviceName
public CrossConnect.Builder ociPhysicalDeviceName(String ociPhysicalDeviceName)
The FastConnect device that terminates the physical connection.- Parameters:
ociPhysicalDeviceName
- the value to set- Returns:
- this builder
-
ociLogicalDeviceName
public CrossConnect.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 CrossConnect build()
-
copy
public CrossConnect.Builder copy(CrossConnect model)
-
-