Class DrgRouteDistribution.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.DrgRouteDistribution.Builder
 
- 
- Enclosing class:
- DrgRouteDistribution
 
 public static class DrgRouteDistribution.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrgRouteDistributionbuild()DrgRouteDistribution.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the route distribution.DrgRouteDistribution.Buildercopy(DrgRouteDistribution model)DrgRouteDistribution.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DrgRouteDistribution.BuilderdisplayName(String displayName)A user-friendly name.DrgRouteDistribution.BuilderdistributionType(DrgRouteDistribution.DistributionType distributionType)Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.DrgRouteDistribution.BuilderdrgId(String drgId)The OCID of the DRG that contains this route distribution.DrgRouteDistribution.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DrgRouteDistribution.Builderid(String id)The route distribution’s Oracle ID (OCID).DrgRouteDistribution.BuilderlifecycleState(DrgRouteDistribution.LifecycleState lifecycleState)The route distribution’s current state.DrgRouteDistribution.BuildertimeCreated(Date timeCreated)The date and time the route distribution was created, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
drgIdpublic DrgRouteDistribution.Builder drgId(String drgId) The OCID of the DRG that contains this route distribution.- Parameters:
- drgId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DrgRouteDistribution.Builder compartmentId(String compartmentId) The OCID of the compartment containing the route distribution.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic DrgRouteDistribution.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
 
 - 
displayNamepublic DrgRouteDistribution.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
 
 - 
freeformTagspublic DrgRouteDistribution.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
 
 - 
idpublic DrgRouteDistribution.Builder id(String id) The route distribution’s Oracle ID (OCID).- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DrgRouteDistribution.Builder lifecycleState(DrgRouteDistribution.LifecycleState lifecycleState) The route distribution’s current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DrgRouteDistribution.Builder timeCreated(Date timeCreated) The date and time the route distribution was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
distributionTypepublic DrgRouteDistribution.Builder distributionType(DrgRouteDistribution.DistributionType distributionType) Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.- Parameters:
- distributionType- the value to set
- Returns:
- this builder
 
 - 
buildpublic DrgRouteDistribution build() 
 - 
copypublic DrgRouteDistribution.Builder copy(DrgRouteDistribution model) 
 
- 
 
-