Class ServiceGateway.Builder

  • Enclosing class:
    ServiceGateway

    public static final class ServiceGateway.Builder
    extends java.lang.Object
    Builder class for ServiceGateway.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of ServiceGateway.
    • Method Detail

      • setAutoSnat

        public ServiceGateway.Builder setAutoSnat​(java.lang.Boolean autoSnat)
        Auto plumb snat rule for private subnet, this will make sure private subnets are routable outside of VPC. There will be one snat rule per VPC, translated ip will be taken from external ip block. If enabled, user must also configure external ip block. This property is applicable only when service_gateway is enabled.
        Parameters:
        autoSnat - New value for the property.
      • setDisable

        public ServiceGateway.Builder setDisable​(java.lang.Boolean disable)
        Flag to deactivate service gateway for connected subnets. If false then VPC will support the following services: NAT, gateway security policies, and gateway QoS profile. If true, VPC will support only distributed services i.e., EW security policy. Workload shall be protected using the same. All traffic from subnets will be routed through the distributed router to the connected gateway and eliminates the intermediate hop of the service gateway.
        Parameters:
        disable - New value for the property.