Class CreateGatewayActionOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateGatewayActionOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createGatewayAction options.
    • Method Detail

      • id

        public String id()
        Gets the id. Direct Link Connect gateway identifier.
        Returns:
        the id
      • action

        public String action()
        Gets the action. Action request.
        Returns:
        the action
      • asPrepends

        public 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
      • authenticationKey

        public 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
      • bfdConfig

        public GatewayBfdConfigActionTemplate bfdConfig()
        Gets the bfdConfig. Applicable for create_gateway_approve requests to select the gateway's BFD configuration information.
        Returns:
        the bfdConfig
      • connectionMode

        public 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
      • defaultExportRouteFilter

        public 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
      • defaultImportRouteFilter

        public 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
      • exportRouteFilters

        public 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
      • global

        public 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
      • importRouteFilters

        public 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
      • metered

        public 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
      • resourceGroup

        public 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
      • updates

        public 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