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