Class FlexTunnel.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.FlexTunnel.Builder
-
- Enclosing class:
- FlexTunnel
public static class FlexTunnel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlexTunnelbuild()FlexTunnel.BuildercompartmentId(String compartmentId)The OCID of the compartment to contain the flex tunnel.FlexTunnel.Buildercopy(FlexTunnel model)FlexTunnel.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.FlexTunnel.BuilderdisplayName(String displayName)A user-friendly name.FlexTunnel.BuilderdrgId(String drgId)The OCID of the drg for loopback attachment.FlexTunnel.BuilderflexTunnelConfiguration(FlexTunnelConfiguration flexTunnelConfiguration)FlexTunnel.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.FlexTunnel.Builderid(String id)The OCID of the flex tunnel.FlexTunnel.BuilderlifecycleState(FlexTunnel.LifecycleState lifecycleState)The current state of the flex tunnel.FlexTunnel.BuildertimeCreated(Date timeCreated)The date and time the flex tunnel was created, in the format defined by RFC3339.FlexTunnel.BuildertransportAttachmentId(String transportAttachmentId)The OCID of the transport attachment.
-
-
-
Method Detail
-
id
public FlexTunnel.Builder id(String id)
The OCID of the flex tunnel.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public FlexTunnel.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the flex tunnel.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public FlexTunnel.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
-
timeCreated
public FlexTunnel.Builder timeCreated(Date timeCreated)
The date and time the flex tunnel was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public FlexTunnel.Builder lifecycleState(FlexTunnel.LifecycleState lifecycleState)
The current state of the flex tunnel.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
drgId
public FlexTunnel.Builder drgId(String drgId)
The OCID of the drg for loopback attachment.- Parameters:
drgId- the value to set- Returns:
- this builder
-
transportAttachmentId
public FlexTunnel.Builder transportAttachmentId(String transportAttachmentId)
The OCID of the transport attachment.- Parameters:
transportAttachmentId- the value to set- Returns:
- this builder
-
flexTunnelConfiguration
public FlexTunnel.Builder flexTunnelConfiguration(FlexTunnelConfiguration flexTunnelConfiguration)
-
freeformTags
public FlexTunnel.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
-
definedTags
public FlexTunnel.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
-
build
public FlexTunnel build()
-
copy
public FlexTunnel.Builder copy(FlexTunnel model)
-
-