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 CrossConnectbuild()CrossConnect.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the cross-connect group.CrossConnect.Buildercopy(CrossConnect model)CrossConnect.BuildercrossConnectGroupId(String crossConnectGroupId)The OCID of the cross-connect group this cross-connect belongs to (if any).CrossConnect.BuilderdisplayName(String displayName)A user-friendly name.CrossConnect.Builderid(String id)The cross-connect’s Oracle ID (OCID).CrossConnect.BuilderlifecycleState(CrossConnect.LifecycleState lifecycleState)The cross-connect’s current state.CrossConnect.BuilderlocationName(String locationName)The name of the FastConnect location where this cross-connect is installed.CrossConnect.BuilderportName(String portName)A string identifying the meet-me room port for this cross-connect.CrossConnect.BuilderportSpeedShapeName(String portSpeedShapeName)The port speed for this cross-connect.CrossConnect.BuildertimeCreated(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
-
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
-
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
-
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
-
build
public CrossConnect build()
-
copy
public CrossConnect.Builder copy(CrossConnect model)
-
-