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 SummaryNested Classes Modifier and Type Class Description static classAsPrependTemplate.BuilderBuilder.static interfaceAsPrependTemplate.PolicyRoute type this AS Prepend applies to.
 - 
Method SummaryAll 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- 
newBuilderpublic AsPrependTemplate.Builder newBuilder() New builder.- Returns:
- a AsPrependTemplate builder
 
 - 
lengthpublic Long length() Gets the length. Number of times the ASN to be prepended to the AS Path.- Returns:
- the length
 
 - 
policypublic String policy() Gets the policy. Route type this AS Prepend applies to.- Returns:
- the policy
 
 - 
prefixpublic 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
 
 
- 
 
-