Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 . |
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.
asLabel
- the value to setpublic Routing.Builder asn(Integer asn)
The Autonomous System Number (ASN) identifying the organization responsible for routing
packets to prefix
.
asn
- the value to setpublic Routing.Builder prefix(String prefix)
An IP prefix (CIDR syntax) that is less specific than address
, through which
address
is routed.
prefix
- the value to setpublic 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.
weight
- the value to setpublic Routing build()
public Routing.Builder copy(Routing model)
Copyright © 2016–2024. All rights reserved.