Class DrgAttachment.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.DrgAttachment.Builder
 
- 
- Enclosing class:
- DrgAttachment
 
 public static class DrgAttachment.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrgAttachmentbuild()DrgAttachment.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the DRG attachment.DrgAttachment.Buildercopy(DrgAttachment model)DrgAttachment.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DrgAttachment.BuilderdisplayName(String displayName)A user-friendly name.DrgAttachment.BuilderdrgId(String drgId)The OCID of the DRG.DrgAttachment.BuilderdrgRouteTableId(String drgRouteTableId)The OCID of the DRG route table that is assigned to this attachment.DrgAttachment.BuilderexportDrgRouteDistributionId(String exportDrgRouteDistributionId)The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment.DrgAttachment.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DrgAttachment.Builderid(String id)The DRG attachment’s Oracle ID (OCID).DrgAttachment.BuilderisCrossTenancy(Boolean isCrossTenancy)Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG.DrgAttachment.BuilderlifecycleState(DrgAttachment.LifecycleState lifecycleState)The DRG attachment’s current state.DrgAttachment.BuildernetworkDetails(DrgAttachmentNetworkDetails networkDetails)DrgAttachment.BuilderrouteTableId(String routeTableId)The OCID of the route table the DRG attachment is using.DrgAttachment.BuildertimeCreated(Date timeCreated)The date and time the DRG attachment was created, in the format defined by RFC3339.DrgAttachment.BuildervcnId(String vcnId)The OCID of the VCN.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic DrgAttachment.Builder compartmentId(String compartmentId) The OCID of the compartment containing the DRG attachment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DrgAttachment.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
 
 - 
drgIdpublic DrgAttachment.Builder drgId(String drgId) The OCID of the DRG.- Parameters:
- drgId- the value to set
- Returns:
- this builder
 
 - 
idpublic DrgAttachment.Builder id(String id) The DRG attachment’s Oracle ID (OCID).- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DrgAttachment.Builder lifecycleState(DrgAttachment.LifecycleState lifecycleState) The DRG attachment’s current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DrgAttachment.Builder timeCreated(Date timeCreated) The date and time the DRG attachment was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
drgRouteTableIdpublic DrgAttachment.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
 
 - 
networkDetailspublic DrgAttachment.Builder networkDetails(DrgAttachmentNetworkDetails networkDetails) 
 - 
definedTagspublic DrgAttachment.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
 
 - 
freeformTagspublic DrgAttachment.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
 
 - 
routeTableIdpublic DrgAttachment.Builder routeTableId(String routeTableId) The OCID of the route table the DRG attachment is using.For information about why you would associate a route table with a DRG attachment, see: [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * [Transit Routing: Private Access to Oracle Services](https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) This field is deprecated. Instead, use the networkDetails field to view the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. - Parameters:
- routeTableId- the value to set
- Returns:
- this builder
 
 - 
vcnIdpublic DrgAttachment.Builder vcnId(String vcnId) The OCID of the VCN.This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource. - Parameters:
- vcnId- the value to set
- Returns:
- this builder
 
 - 
exportDrgRouteDistributionIdpublic DrgAttachment.Builder exportDrgRouteDistributionId(String exportDrgRouteDistributionId) The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment.If this value is null, no routes are advertised through this attachment. - Parameters:
- exportDrgRouteDistributionId- the value to set
- Returns:
- this builder
 
 - 
isCrossTenancypublic DrgAttachment.Builder isCrossTenancy(Boolean isCrossTenancy) Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG.Example: false - Parameters:
- isCrossTenancy- the value to set
- Returns:
- this builder
 
 - 
buildpublic DrgAttachment build() 
 - 
copypublic DrgAttachment.Builder copy(DrgAttachment model) 
 
- 
 
-