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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplaceGatewayAsPrependsOptions.BuilderaddAsPrepends(AsPrependPrefixArrayTemplate asPrepends)Adds an asPrepends to asPrepends.ReplaceGatewayAsPrependsOptions.BuilderasPrepends(List<AsPrependPrefixArrayTemplate> asPrepends)Set the asPrepends.ReplaceGatewayAsPrependsOptionsbuild()Builds a ReplaceGatewayAsPrependsOptions.ReplaceGatewayAsPrependsOptions.BuildergatewayId(String gatewayId)Set the gatewayId.ReplaceGatewayAsPrependsOptions.BuilderifMatch(String ifMatch)Set the ifMatch.
 
- 
- 
- 
Method Detail- 
buildpublic ReplaceGatewayAsPrependsOptions build() Builds a ReplaceGatewayAsPrependsOptions.- Returns:
- the new ReplaceGatewayAsPrependsOptions instance
 
 - 
addAsPrependspublic ReplaceGatewayAsPrependsOptions.Builder addAsPrepends(AsPrependPrefixArrayTemplate asPrepends) Adds an asPrepends to asPrepends.- Parameters:
- asPrepends- the new asPrepends
- Returns:
- the ReplaceGatewayAsPrependsOptions builder
 
 - 
gatewayIdpublic ReplaceGatewayAsPrependsOptions.Builder gatewayId(String gatewayId) Set the gatewayId.- Parameters:
- gatewayId- the gatewayId
- Returns:
- the ReplaceGatewayAsPrependsOptions builder
 
 - 
ifMatchpublic ReplaceGatewayAsPrependsOptions.Builder ifMatch(String ifMatch) Set the ifMatch.- Parameters:
- ifMatch- the ifMatch
- Returns:
- the ReplaceGatewayAsPrependsOptions builder
 
 - 
asPrependspublic ReplaceGatewayAsPrependsOptions.Builder asPrepends(List<AsPrependPrefixArrayTemplate> asPrepends) Set the asPrepends. Existing asPrepends will be replaced.- Parameters:
- asPrepends- the asPrepends
- Returns:
- the ReplaceGatewayAsPrependsOptions builder
 
 
- 
 
-