Class CreateGatewayActionOptions
- java.lang.Object
- 
- com.ibm.cloud.sdk.core.service.model.GenericModel
- 
- com.ibm.cloud.networking.direct_link.v1.model.CreateGatewayActionOptions
 
 
- 
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
 
 public class CreateGatewayActionOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createGatewayAction options.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceCreateGatewayActionOptions.ActionAction request.static classCreateGatewayActionOptions.BuilderBuilder.static interfaceCreateGatewayActionOptions.ConnectionModeApplicable for create_gateway_approve requests to select the type of services this gateway is attached to.static interfaceCreateGatewayActionOptions.DefaultExportRouteFilterThe default directional route filter action that applies to routes that do not match any directional route filters.static interfaceCreateGatewayActionOptions.DefaultImportRouteFilterThe default directional route filter action that applies to routes that do not match any directional route filters.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaction()Gets the action.List<AsPrependTemplate>asPrepends()Gets the asPrepends.GatewayActionTemplateAuthenticationKeyauthenticationKey()Gets the authenticationKey.GatewayBfdConfigActionTemplatebfdConfig()Gets the bfdConfig.StringconnectionMode()Gets the connectionMode.StringdefaultExportRouteFilter()Gets the defaultExportRouteFilter.StringdefaultImportRouteFilter()Gets the defaultImportRouteFilter.List<GatewayTemplateRouteFilter>exportRouteFilters()Gets the exportRouteFilters.Booleanglobal()Gets the global.Stringid()Gets the id.List<GatewayTemplateRouteFilter>importRouteFilters()Gets the importRouteFilters.Booleanmetered()Gets the metered.CreateGatewayActionOptions.BuildernewBuilder()New builder.ResourceGroupIdentityresourceGroup()Gets the resourceGroup.List<GatewayActionTemplateUpdatesItem>updates()Gets the updates.
 
- 
- 
- 
Method Detail- 
newBuilderpublic CreateGatewayActionOptions.Builder newBuilder() New builder.- Returns:
- a CreateGatewayActionOptions builder
 
 - 
idpublic String id() Gets the id. Direct Link Connect gateway identifier.- Returns:
- the id
 
 - 
actionpublic String action() Gets the action. Action request.- Returns:
- the action
 
 - 
asPrependspublic List<AsPrependTemplate> asPrepends() Gets the asPrepends. Applicable for create_gateway_approve requests to create AS Prepends. Contains an array of AS Prepend configuration information.- Returns:
- the asPrepends
 
 - 
authenticationKeypublic GatewayActionTemplateAuthenticationKey authenticationKey() Gets the authenticationKey. Applicable for create_gateway_approve requests to select the gateway's BGP MD5 authentication key. The key material that you provide must be base64 encoded and original string must be maximum 126 ASCII characters in length. To clear the optional `authentication_key` field patch its crn to `""`.- Returns:
- the authenticationKey
 
 - 
bfdConfigpublic GatewayBfdConfigActionTemplate bfdConfig() Gets the bfdConfig. Applicable for create_gateway_approve requests to select the gateway's BFD configuration information.- Returns:
- the bfdConfig
 
 - 
connectionModepublic String connectionMode() Gets the connectionMode. Applicable for create_gateway_approve requests to select the type of services this gateway is attached to. Mode transit indicates this gateway will be attached to Transit Gateway Service and direct means this gateway will be attached to vpc or classic connection. If unspecified on create_gateway_approve, default value direct is used. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.- Returns:
- the connectionMode
 
 - 
defaultExportRouteFilterpublic String defaultExportRouteFilter() Gets the defaultExportRouteFilter. The default directional route filter action that applies to routes that do not match any directional route filters.- Returns:
- the defaultExportRouteFilter
 
 - 
defaultImportRouteFilterpublic String defaultImportRouteFilter() Gets the defaultImportRouteFilter. The default directional route filter action that applies to routes that do not match any directional route filters.- Returns:
- the defaultImportRouteFilter
 
 - 
exportRouteFilterspublic List<GatewayTemplateRouteFilter> exportRouteFilters() Gets the exportRouteFilters. Array of directional route filters for a Direct Link gateway. When creating a gateway or replacing existing route filters, the order of the items in the array will set the ordering of the list of route filters.- Returns:
- the exportRouteFilters
 
 - 
globalpublic Boolean global() Gets the global. Applicable for create_gateway_approve requests to select the gateway's routing option. Gateways with global routing (`true`) can connect to networks outside of their associated region.- Returns:
- the global
 
 - 
importRouteFilterspublic List<GatewayTemplateRouteFilter> importRouteFilters() Gets the importRouteFilters. Array of directional route filters for a Direct Link gateway. When creating a gateway or replacing existing route filters, the order of the items in the array will set the ordering of the list of route filters.- Returns:
- the importRouteFilters
 
 - 
meteredpublic Boolean metered() Gets the metered. Applicable for create_gateway_approve requests to select the gateway's metered billing option. When `true` gateway usage is billed per gigabyte. When `false` there is no per gigabyte usage charge, instead a flat rate is charged for the gateway.- Returns:
- the metered
 
 - 
resourceGrouppublic ResourceGroupIdentity resourceGroup() Gets the resourceGroup. Set for create_gateway_approve requests to select the gateway's resource group. If unspecified on create_gateway_approve, the account's [default resource group](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used.- Returns:
- the resourceGroup
 
 - 
updatespublic List<GatewayActionTemplateUpdatesItem> updates() Gets the updates. Specify attribute updates being approved or rejected, update_attributes_approve and update_attributes_reject actions must provide an updates field that matches the gateway's current pending changes.- Returns:
- the updates
 
 
- 
 
-