Class Cpe.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.Cpe.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cpebuild()Cpe.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the CPE.Cpe.Buildercopy(Cpe model)Cpe.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Cpe.BuilderdisplayName(String displayName)A user-friendly name.Cpe.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Cpe.Builderid(String id)The CPE’s Oracle ID (OCID).Cpe.BuilderipAddress(String ipAddress)The public IP address of the on-premises router.Cpe.BuilderisPrivate(Boolean isPrivate)Indicates whether this CPE is of type private or not.Cpe.BuildertimeCreated(Date timeCreated)The date and time the CPE was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
compartmentId
public Cpe.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the CPE.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public Cpe.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 Cpe.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 Cpe.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 Cpe.Builder id(String id)
The CPE’s Oracle ID (OCID).- Parameters:
id- the value to set- Returns:
- this builder
-
ipAddress
public Cpe.Builder ipAddress(String ipAddress)
The public IP address of the on-premises router.- Parameters:
ipAddress- the value to set- Returns:
- this builder
-
timeCreated
public Cpe.Builder timeCreated(Date timeCreated)
The date and time the CPE was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
isPrivate
public Cpe.Builder isPrivate(Boolean isPrivate)
Indicates whether this CPE is of type private or not.- Parameters:
isPrivate- the value to set- Returns:
- this builder
-
build
public Cpe build()
-
copy
public Cpe.Builder copy(Cpe model)
-
-