Class FirewallApi


  • public class FirewallApi
    extends com.ibm.cloud.sdk.core.service.BaseService
    Firewall API.
    Version:
    v1
    • Constructor Detail

      • FirewallApi

        public FirewallApi​(String crn,
                           String zoneIdentifier,
                           String serviceName,
                           com.ibm.cloud.sdk.core.security.Authenticator authenticator)
        Constructs an instance of the `FirewallApi` client. The specified service name and authenticator are used to configure the client instance.
        Parameters:
        crn - cloud resource name.
        zoneIdentifier - zone identifier.
        serviceName - the service name to be used when configuring the client instance
        authenticator - the Authenticator instance to be configured for this client
    • Method Detail

      • newInstance

        public static FirewallApi newInstance​(String crn,
                                              String zoneIdentifier)
        Class method which constructs an instance of the `FirewallApi` client. The default service name is used to configure the client instance.
        Parameters:
        crn - cloud resource name.
        zoneIdentifier - zone identifier.
        Returns:
        an instance of the `FirewallApi` client using external configuration
      • newInstance

        public static FirewallApi newInstance​(String crn,
                                              String zoneIdentifier,
                                              String serviceName)
        Class method which constructs an instance of the `FirewallApi` client. The specified service name is used to configure the client instance.
        Parameters:
        crn - cloud resource name.
        zoneIdentifier - zone identifier.
        serviceName - the service name to be used when configuring the client instance
        Returns:
        an instance of the `FirewallApi` client using external configuration
      • getCrn

        public String getCrn()
        Gets the crn. cloud resource name.
        Returns:
        the crn
      • setCrn

        public void setCrn​(String crn)
        Sets the crn.
        Parameters:
        crn - the new crn
      • getZoneIdentifier

        public String getZoneIdentifier()
        Gets the zoneIdentifier. zone identifier.
        Returns:
        the zoneIdentifier
      • setZoneIdentifier

        public void setZoneIdentifier​(String zoneIdentifier)
        Sets the zoneIdentifier.
        Parameters:
        zoneIdentifier - the new zoneIdentifier
      • getSecurityLevelSetting

        public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityLevelSettingResp> getSecurityLevelSetting()
        Get security level setting. For a given zone identifier, get security level setting.
        Returns:
        a ServiceCall with a result of type SecurityLevelSettingResp
      • setSecurityLevelSetting

        public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityLevelSettingResp> setSecurityLevelSetting()
        Set security level setting. For a given zone identifier, set security level setting.
        Returns:
        a ServiceCall with a result of type SecurityLevelSettingResp