Class AsPrependPrefixArrayTemplate.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.direct_link.v1.model.AsPrependPrefixArrayTemplate.Builder
-
- Enclosing class:
- AsPrependPrefixArrayTemplate
public static class AsPrependPrefixArrayTemplate.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsPrependPrefixArrayTemplate.Builder
addSpecificPrefixes(String specificPrefixes)
Adds an specificPrefixes to specificPrefixes.AsPrependPrefixArrayTemplate
build()
Builds a AsPrependPrefixArrayTemplate.AsPrependPrefixArrayTemplate.Builder
length(long length)
Set the length.AsPrependPrefixArrayTemplate.Builder
policy(String policy)
Set the policy.AsPrependPrefixArrayTemplate.Builder
specificPrefixes(List<String> specificPrefixes)
Set the specificPrefixes.
-
-
-
Method Detail
-
build
public AsPrependPrefixArrayTemplate build()
Builds a AsPrependPrefixArrayTemplate.- Returns:
- the new AsPrependPrefixArrayTemplate instance
-
addSpecificPrefixes
public AsPrependPrefixArrayTemplate.Builder addSpecificPrefixes(String specificPrefixes)
Adds an specificPrefixes to specificPrefixes.- Parameters:
specificPrefixes
- the new specificPrefixes- Returns:
- the AsPrependPrefixArrayTemplate builder
-
length
public AsPrependPrefixArrayTemplate.Builder length(long length)
Set the length.- Parameters:
length
- the length- Returns:
- the AsPrependPrefixArrayTemplate builder
-
policy
public AsPrependPrefixArrayTemplate.Builder policy(String policy)
Set the policy.- Parameters:
policy
- the policy- Returns:
- the AsPrependPrefixArrayTemplate builder
-
specificPrefixes
public AsPrependPrefixArrayTemplate.Builder specificPrefixes(List<String> specificPrefixes)
Set the specificPrefixes. Existing specificPrefixes will be replaced.- Parameters:
specificPrefixes
- the specificPrefixes- Returns:
- the AsPrependPrefixArrayTemplate builder
-
-