Class AsPrependTemplate
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.AsPrependTemplate
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AsPrependTemplate extends com.ibm.cloud.sdk.core.service.model.GenericModelCreate AS Prepend Configuration template.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAsPrependTemplate.BuilderBuilder.static interfaceAsPrependTemplate.PolicyRoute type this AS Prepend applies to.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Longlength()Gets the length.AsPrependTemplate.BuildernewBuilder()New builder.Stringpolicy()Gets the policy.Stringprefix()Gets the prefix.List<String>specificPrefixes()Gets the specificPrefixes.
-
-
-
Method Detail
-
newBuilder
public AsPrependTemplate.Builder newBuilder()
New builder.- Returns:
- a AsPrependTemplate builder
-
length
public Long length()
Gets the length. Number of times the ASN to be prepended to the AS Path.- Returns:
- the length
-
policy
public String policy()
Gets the policy. Route type this AS Prepend applies to.- Returns:
- the policy
-
prefix
public String prefix()
Gets the prefix. Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes.- Returns:
- the prefix
-
-