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