public static class CrossConnect.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public CrossConnect.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the cross-connect group.
compartmentId
- the value to setpublic CrossConnect.Builder crossConnectGroupId(String crossConnectGroupId)
The OCID of the cross-connect group this cross-connect belongs to (if any).
crossConnectGroupId
- the value to setpublic 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"}}
definedTags
- the value to setpublic CrossConnect.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic 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"}
freeformTags
- the value to setpublic CrossConnect.Builder id(String id)
The cross-connect’s Oracle ID (OCID).
id
- the value to setpublic CrossConnect.Builder lifecycleState(CrossConnect.LifecycleState lifecycleState)
The cross-connect’s current state.
lifecycleState
- the value to setpublic CrossConnect.Builder locationName(String locationName)
The name of the FastConnect location where this cross-connect is installed.
locationName
- the value to setpublic CrossConnect.Builder portName(String portName)
A string identifying the meet-me room port for this cross-connect.
portName
- the value to setpublic CrossConnect.Builder portSpeedShapeName(String portSpeedShapeName)
The port speed for this cross-connect.
Example: 10 Gbps
portSpeedShapeName
- the value to setpublic CrossConnect.Builder customerReferenceName(String customerReferenceName)
A reference name or identifier for the physical fiber connection that this cross-connect uses.
customerReferenceName
- the value to setpublic 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
timeCreated
- the value to setpublic CrossConnect.Builder macsecProperties(MacsecProperties macsecProperties)
public CrossConnect.Builder ociPhysicalDeviceName(String ociPhysicalDeviceName)
The FastConnect device that terminates the physical connection.
ociPhysicalDeviceName
- the value to setpublic 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.
ociLogicalDeviceName
- the value to setpublic CrossConnect build()
public CrossConnect.Builder copy(CrossConnect model)
Copyright © 2016–2024. All rights reserved.