Class CreateCrossConnectDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.CreateCrossConnectDetails.Builder
-
- Enclosing class:
- CreateCrossConnectDetails
public static class CreateCrossConnectDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCrossConnectDetails
build()
CreateCrossConnectDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment to contain the cross-connect.CreateCrossConnectDetails.Builder
copy(CreateCrossConnectDetails model)
CreateCrossConnectDetails.Builder
crossConnectGroupId(String crossConnectGroupId)
The OCID of the cross-connect group to put this cross-connect in.CreateCrossConnectDetails.Builder
customerReferenceName(String customerReferenceName)
A reference name or identifier for the physical fiber connection that this cross-connect uses.CreateCrossConnectDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateCrossConnectDetails.Builder
displayName(String displayName)
A user-friendly name.CreateCrossConnectDetails.Builder
farCrossConnectOrCrossConnectGroupId(String farCrossConnectOrCrossConnectGroupId)
If you already have an existing cross-connect or cross-connect group at this FastConnect location, and you want this new cross-connect to be on a different router (for the purposes of redundancy), provide the OCID of that existing cross-connect or cross-connect group.CreateCrossConnectDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CreateCrossConnectDetails.Builder
locationName(String locationName)
The name of the FastConnect location where this cross-connect will be installed.CreateCrossConnectDetails.Builder
macsecProperties(CreateMacsecProperties macsecProperties)
CreateCrossConnectDetails.Builder
nearCrossConnectOrCrossConnectGroupId(String nearCrossConnectOrCrossConnectGroupId)
If you already have an existing cross-connect or cross-connect group at this FastConnect location, and you want this new cross-connect to be on the same router, provide the OCID of that existing cross-connect or cross-connect group.CreateCrossConnectDetails.Builder
portSpeedShapeName(String portSpeedShapeName)
The port speed for this cross-connect.
-
-
-
Method Detail
-
compartmentId
public CreateCrossConnectDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the cross-connect.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
crossConnectGroupId
public CreateCrossConnectDetails.Builder crossConnectGroupId(String crossConnectGroupId)
The OCID of the cross-connect group to put this cross-connect in.- Parameters:
crossConnectGroupId
- the value to set- Returns:
- this builder
-
definedTags
public CreateCrossConnectDetails.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 CreateCrossConnectDetails.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
-
farCrossConnectOrCrossConnectGroupId
public CreateCrossConnectDetails.Builder farCrossConnectOrCrossConnectGroupId(String farCrossConnectOrCrossConnectGroupId)
If you already have an existing cross-connect or cross-connect group at this FastConnect location, and you want this new cross-connect to be on a different router (for the purposes of redundancy), provide the OCID of that existing cross-connect or cross-connect group.- Parameters:
farCrossConnectOrCrossConnectGroupId
- the value to set- Returns:
- this builder
-
freeformTags
public CreateCrossConnectDetails.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
-
locationName
public CreateCrossConnectDetails.Builder locationName(String locationName)
The name of the FastConnect location where this cross-connect will be installed.To get a list of the available locations, see
listCrossConnectLocations
.Example: CyrusOne, Chandler, AZ
- Parameters:
locationName
- the value to set- Returns:
- this builder
-
nearCrossConnectOrCrossConnectGroupId
public CreateCrossConnectDetails.Builder nearCrossConnectOrCrossConnectGroupId(String nearCrossConnectOrCrossConnectGroupId)
If you already have an existing cross-connect or cross-connect group at this FastConnect location, and you want this new cross-connect to be on the same router, provide the OCID of that existing cross-connect or cross-connect group.- Parameters:
nearCrossConnectOrCrossConnectGroupId
- the value to set- Returns:
- this builder
-
portSpeedShapeName
public CreateCrossConnectDetails.Builder portSpeedShapeName(String portSpeedShapeName)
The port speed for this cross-connect.To get a list of the available port speeds, see
listCrossconnectPortSpeedShapes
.Example: 10 Gbps
- Parameters:
portSpeedShapeName
- the value to set- Returns:
- this builder
-
customerReferenceName
public CreateCrossConnectDetails.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
-
macsecProperties
public CreateCrossConnectDetails.Builder macsecProperties(CreateMacsecProperties macsecProperties)
-
build
public CreateCrossConnectDetails build()
-
copy
public CreateCrossConnectDetails.Builder copy(CreateCrossConnectDetails model)
-
-