Class AsPrependPrefixArrayTemplate
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.AsPrependPrefixArrayTemplate
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AsPrependPrefixArrayTemplate extends com.ibm.cloud.sdk.core.service.model.GenericModel
Create AS Prepend Configuration template.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AsPrependPrefixArrayTemplate.Builder
Builder.static interface
AsPrependPrefixArrayTemplate.Policy
Route type this AS Prepend applies to.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
length()
Gets the length.AsPrependPrefixArrayTemplate.Builder
newBuilder()
New builder.String
policy()
Gets the policy.List<String>
specificPrefixes()
Gets the specificPrefixes.
-
-
-
Method Detail
-
newBuilder
public AsPrependPrefixArrayTemplate.Builder newBuilder()
New builder.- Returns:
- a AsPrependPrefixArrayTemplate 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
-
-