Class CreateGatewayActionOptions.Builder
- java.lang.Object
- 
- com.ibm.cloud.networking.direct_link.v1.model.CreateGatewayActionOptions.Builder
 
- 
- Enclosing class:
- CreateGatewayActionOptions
 
 public static class CreateGatewayActionOptions.Builder extends Object Builder.
- 
- 
Method Summary
 
- 
- 
- 
Constructor Detail- 
Builderpublic Builder() Instantiates a new builder.
 - 
Builderpublic Builder(String id) Instantiates a new builder with required properties.- Parameters:
- id- the id
 
 
- 
 - 
Method Detail- 
buildpublic CreateGatewayActionOptions build() Builds a CreateGatewayActionOptions.- Returns:
- the new CreateGatewayActionOptions instance
 
 - 
addAsPrependspublic CreateGatewayActionOptions.Builder addAsPrepends(AsPrependTemplate asPrepends) Adds an asPrepends to asPrepends.- Parameters:
- asPrepends- the new asPrepends
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
addExportRouteFilterspublic CreateGatewayActionOptions.Builder addExportRouteFilters(GatewayTemplateRouteFilter exportRouteFilters) Adds an exportRouteFilters to exportRouteFilters.- Parameters:
- exportRouteFilters- the new exportRouteFilters
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
addImportRouteFilterspublic CreateGatewayActionOptions.Builder addImportRouteFilters(GatewayTemplateRouteFilter importRouteFilters) Adds an importRouteFilters to importRouteFilters.- Parameters:
- importRouteFilters- the new importRouteFilters
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
addUpdatespublic CreateGatewayActionOptions.Builder addUpdates(GatewayActionTemplateUpdatesItem updates) Adds an updates to updates.- Parameters:
- updates- the new updates
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
idpublic CreateGatewayActionOptions.Builder id(String id) Set the id.- Parameters:
- id- the id
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
actionpublic CreateGatewayActionOptions.Builder action(String action) Set the action.- Parameters:
- action- the action
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
asPrependspublic CreateGatewayActionOptions.Builder asPrepends(List<AsPrependTemplate> asPrepends) Set the asPrepends. Existing asPrepends will be replaced.- Parameters:
- asPrepends- the asPrepends
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
authenticationKeypublic CreateGatewayActionOptions.Builder authenticationKey(GatewayActionTemplateAuthenticationKey authenticationKey) Set the authenticationKey.- Parameters:
- authenticationKey- the authenticationKey
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
bfdConfigpublic CreateGatewayActionOptions.Builder bfdConfig(GatewayBfdConfigActionTemplate bfdConfig) Set the bfdConfig.- Parameters:
- bfdConfig- the bfdConfig
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
connectionModepublic CreateGatewayActionOptions.Builder connectionMode(String connectionMode) Set the connectionMode.- Parameters:
- connectionMode- the connectionMode
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
defaultExportRouteFilterpublic CreateGatewayActionOptions.Builder defaultExportRouteFilter(String defaultExportRouteFilter) Set the defaultExportRouteFilter.- Parameters:
- defaultExportRouteFilter- the defaultExportRouteFilter
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
defaultImportRouteFilterpublic CreateGatewayActionOptions.Builder defaultImportRouteFilter(String defaultImportRouteFilter) Set the defaultImportRouteFilter.- Parameters:
- defaultImportRouteFilter- the defaultImportRouteFilter
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
exportRouteFilterspublic CreateGatewayActionOptions.Builder exportRouteFilters(List<GatewayTemplateRouteFilter> exportRouteFilters) Set the exportRouteFilters. Existing exportRouteFilters will be replaced.- Parameters:
- exportRouteFilters- the exportRouteFilters
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
globalpublic CreateGatewayActionOptions.Builder global(Boolean global) Set the global.- Parameters:
- global- the global
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
importRouteFilterspublic CreateGatewayActionOptions.Builder importRouteFilters(List<GatewayTemplateRouteFilter> importRouteFilters) Set the importRouteFilters. Existing importRouteFilters will be replaced.- Parameters:
- importRouteFilters- the importRouteFilters
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
meteredpublic CreateGatewayActionOptions.Builder metered(Boolean metered) Set the metered.- Parameters:
- metered- the metered
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
resourceGrouppublic CreateGatewayActionOptions.Builder resourceGroup(ResourceGroupIdentity resourceGroup) Set the resourceGroup.- Parameters:
- resourceGroup- the resourceGroup
- Returns:
- the CreateGatewayActionOptions builder
 
 - 
updatespublic CreateGatewayActionOptions.Builder updates(List<GatewayActionTemplateUpdatesItem> updates) Set the updates. Existing updates will be replaced.- Parameters:
- updates- the updates
- Returns:
- the CreateGatewayActionOptions builder
 
 
- 
 
-