Class CreateDrgAttachmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.CreateDrgAttachmentDetails.Builder
-
- Enclosing class:
- CreateDrgAttachmentDetails
public static class CreateDrgAttachmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDrgAttachmentDetailsbuild()CreateDrgAttachmentDetails.Buildercopy(CreateDrgAttachmentDetails model)CreateDrgAttachmentDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateDrgAttachmentDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateDrgAttachmentDetails.BuilderdrgId(String drgId)The OCID of the DRG.CreateDrgAttachmentDetails.BuilderdrgRouteTableId(String drgRouteTableId)The OCID of the DRG route table that is assigned to this attachment.CreateDrgAttachmentDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateDrgAttachmentDetails.BuildernetworkDetails(DrgAttachmentNetworkCreateDetails networkDetails)CreateDrgAttachmentDetails.BuildervcnId(String vcnId)The OCID of the VCN.
-
-
-
Method Detail
-
displayName
public CreateDrgAttachmentDetails.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
-
drgId
public CreateDrgAttachmentDetails.Builder drgId(String drgId)
The OCID of the DRG.- Parameters:
drgId- the value to set- Returns:
- this builder
-
drgRouteTableId
public CreateDrgAttachmentDetails.Builder drgRouteTableId(String drgRouteTableId)
The OCID of the DRG route table that is assigned to this attachment.The DRG route table manages traffic inside the DRG.
- Parameters:
drgRouteTableId- the value to set- Returns:
- this builder
-
networkDetails
public CreateDrgAttachmentDetails.Builder networkDetails(DrgAttachmentNetworkCreateDetails networkDetails)
-
definedTags
public CreateDrgAttachmentDetails.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
-
freeformTags
public CreateDrgAttachmentDetails.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
-
vcnId
public CreateDrgAttachmentDetails.Builder vcnId(String vcnId)
The OCID of the VCN.This field is deprecated. Instead, use the networkDetails field to specify the OCID of the attached resource.
- Parameters:
vcnId- the value to set- Returns:
- this builder
-
build
public CreateDrgAttachmentDetails build()
-
copy
public CreateDrgAttachmentDetails.Builder copy(CreateDrgAttachmentDetails model)
-
-