Class Routing.Builder
- java.lang.Object
-
- com.oracle.bmc.healthchecks.model.Routing.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Routing.Builder
asLabel(String asLabel)
The registry label for asn, usually the name of the organization that owns the ASN.Routing.Builder
asn(Integer asn)
The Autonomous System Number (ASN) identifying the organization responsible for routing packets to prefix.Routing
build()
Routing.Builder
copy(Routing model)
Routing.Builder
prefix(String prefix)
An IP prefix (CIDR syntax) that is less specific than address, through which address is routed.Routing.Builder
weight(Integer weight)
An integer between 0 and 100 used to select between multiple origin ASNs when routing to prefix.
-
-
-
Method Detail
-
asLabel
public Routing.Builder asLabel(String asLabel)
The registry label for asn, usually the name of the organization that owns the ASN.May be omitted or null.
- Parameters:
asLabel
- the value to set- Returns:
- this builder
-
asn
public Routing.Builder asn(Integer asn)
The Autonomous System Number (ASN) identifying the organization responsible for routing packets to prefix.- Parameters:
asn
- the value to set- Returns:
- this builder
-
prefix
public Routing.Builder prefix(String prefix)
An IP prefix (CIDR syntax) that is less specific than address, through which address is routed.- Parameters:
prefix
- the value to set- Returns:
- this builder
-
weight
public Routing.Builder weight(Integer weight)
An integer between 0 and 100 used to select between multiple origin ASNs when routing to prefix.Most prefixes have exactly one origin ASN, in which case weight will be 100.
- Parameters:
weight
- the value to set- Returns:
- this builder
-
build
public Routing build()
-
copy
public Routing.Builder copy(Routing model)
-
-