Class CrossConnect.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.CrossConnect.Builder
 
- 
- Enclosing class:
- CrossConnect
 
 public static class CrossConnect.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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.BuildercustomerReferenceName(String customerReferenceName)A reference name or identifier for the physical fiber connection that this cross-connect uses.CrossConnect.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CrossConnect.BuilderdisplayName(String displayName)A user-friendly name.CrossConnect.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.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.BuildermacsecProperties(MacsecProperties macsecProperties)CrossConnect.BuilderociLogicalDeviceName(String ociLogicalDeviceName)The FastConnect device that terminates the logical connection.CrossConnect.BuilderociPhysicalDeviceName(String ociPhysicalDeviceName)The FastConnect device that terminates the physical connection.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- 
compartmentIdpublic CrossConnect.Builder compartmentId(String compartmentId) The OCID of the compartment containing the cross-connect group.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
crossConnectGroupIdpublic 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
 
 - 
definedTagspublic 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
 
 - 
displayNamepublic 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
 
 - 
freeformTagspublic 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
 
 - 
idpublic CrossConnect.Builder id(String id) The cross-connect’s Oracle ID (OCID).- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic CrossConnect.Builder lifecycleState(CrossConnect.LifecycleState lifecycleState) The cross-connect’s current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
locationNamepublic 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
 
 - 
portNamepublic 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
 
 - 
portSpeedShapeNamepublic CrossConnect.Builder portSpeedShapeName(String portSpeedShapeName) The port speed for this cross-connect.Example: 10 Gbps - Parameters:
- portSpeedShapeName- the value to set
- Returns:
- this builder
 
 - 
customerReferenceNamepublic 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
 
 - 
timeCreatedpublic 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
 
 - 
macsecPropertiespublic CrossConnect.Builder macsecProperties(MacsecProperties macsecProperties) 
 - 
ociPhysicalDeviceNamepublic CrossConnect.Builder ociPhysicalDeviceName(String ociPhysicalDeviceName) The FastConnect device that terminates the physical connection.- Parameters:
- ociPhysicalDeviceName- the value to set
- Returns:
- this builder
 
 - 
ociLogicalDeviceNamepublic 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
 
 - 
buildpublic CrossConnect build() 
 - 
copypublic CrossConnect.Builder copy(CrossConnect model) 
 
- 
 
-