public static class DrgRouteDistribution.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrgRouteDistribution |
build() |
DrgRouteDistribution.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the route distribution.
|
DrgRouteDistribution.Builder |
copy(DrgRouteDistribution model) |
DrgRouteDistribution.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DrgRouteDistribution.Builder |
displayName(String displayName)
A user-friendly name.
|
DrgRouteDistribution.Builder |
distributionType(DrgRouteDistribution.DistributionType distributionType)
Whether this distribution defines how routes get imported into route tables or exported
through DRG attachments.
|
DrgRouteDistribution.Builder |
drgId(String drgId)
The OCID
of the DRG that contains this route distribution.
|
DrgRouteDistribution.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DrgRouteDistribution.Builder |
id(String id)
The route distribution’s Oracle ID
(OCID).
|
DrgRouteDistribution.Builder |
lifecycleState(DrgRouteDistribution.LifecycleState lifecycleState)
The route distribution’s current state.
|
DrgRouteDistribution.Builder |
timeCreated(Date timeCreated)
The date and time the route distribution was created, in the format defined by
RFC3339.
|
public DrgRouteDistribution.Builder drgId(String drgId)
The OCID of the DRG that contains this route distribution.
drgId
- the value to setpublic DrgRouteDistribution.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the route distribution.
compartmentId
- the value to setpublic 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"}}
definedTags
- the value to setpublic DrgRouteDistribution.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic 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"}
freeformTags
- the value to setpublic DrgRouteDistribution.Builder id(String id)
The route distribution’s Oracle ID (OCID).
id
- the value to setpublic DrgRouteDistribution.Builder lifecycleState(DrgRouteDistribution.LifecycleState lifecycleState)
The route distribution’s current state.
lifecycleState
- the value to setpublic 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
timeCreated
- the value to setpublic DrgRouteDistribution.Builder distributionType(DrgRouteDistribution.DistributionType distributionType)
Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
distributionType
- the value to setpublic DrgRouteDistribution build()
public DrgRouteDistribution.Builder copy(DrgRouteDistribution model)
Copyright © 2016–2024. All rights reserved.