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