Class SecurityStub

  • All Implemented Interfaces:
    Security, SecurityTypes, com.vmware.vapi.bindings.Service

    public class SecurityStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Security
    Remote stub implementation of the Security API service.

    WARNING: Internal class, subject to change in future versions.

    • Field Summary

      • Fields inherited from class com.vmware.vapi.internal.bindings.Stub

        apiProvider, converter, ifaceId, retryPolicy, securityContext
    • Constructor Summary

      Constructors 
      Constructor Description
      SecurityStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      SecurityStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DfwFirewallConfiguration get()
      Get the current dfw firewall configurations.
      void get​(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
      Get the current dfw firewall configurations.
      void get​(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the current dfw firewall configurations.
      DfwFirewallConfiguration get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the current dfw firewall configurations.
      void patch​(DfwFirewallConfiguration dfwFirewallConfiguration)
      Update dfw firewall related configurations.
      void patch​(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Update dfw firewall related configurations.
      void patch​(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update dfw firewall related configurations.
      void patch​(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update dfw firewall related configurations.
      DfwFirewallConfiguration update​(DfwFirewallConfiguration dfwFirewallConfiguration)
      Update dfw firewall related configurations.
      void update​(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
      Update dfw firewall related configurations.
      void update​(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update dfw firewall related configurations.
      DfwFirewallConfiguration update​(DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update dfw firewall related configurations.
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SecurityStub

        public SecurityStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                            com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                            com.vmware.vapi.bindings.StubConfigurationBase config)
      • SecurityStub

        public SecurityStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                            com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • get

        public DfwFirewallConfiguration get()
        Description copied from interface: Security
        Get the current dfw firewall configurations.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface Security
        Returns:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration
      • get

        public DfwFirewallConfiguration get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Security
        Get the current dfw firewall configurations.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        get in interface Security
        Parameters:
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration
      • get

        public void get​(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
        Description copied from interface: Security
        Get the current dfw firewall configurations.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface Security
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Security
        Get the current dfw firewall configurations.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface Security
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(DfwFirewallConfiguration dfwFirewallConfiguration)
        Description copied from interface: Security
        Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        patch in interface Security
        Parameters:
        dfwFirewallConfiguration - (required)
      • patch

        public void patch​(DfwFirewallConfiguration dfwFirewallConfiguration,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Security
        Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        patch in interface Security
        Parameters:
        dfwFirewallConfiguration - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(DfwFirewallConfiguration dfwFirewallConfiguration,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Security
        Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface Security
        Parameters:
        dfwFirewallConfiguration - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(DfwFirewallConfiguration dfwFirewallConfiguration,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Security
        Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        patch in interface Security
        Parameters:
        dfwFirewallConfiguration - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public DfwFirewallConfiguration update​(DfwFirewallConfiguration dfwFirewallConfiguration)
        Description copied from interface: Security
        Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        update in interface Security
        Parameters:
        dfwFirewallConfiguration - (required)
        Returns:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration
      • update

        public DfwFirewallConfiguration update​(DfwFirewallConfiguration dfwFirewallConfiguration,
                                               com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Security
        Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        update in interface Security
        Parameters:
        dfwFirewallConfiguration - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration
      • update

        public void update​(DfwFirewallConfiguration dfwFirewallConfiguration,
                           com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
        Description copied from interface: Security
        Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface Security
        Parameters:
        dfwFirewallConfiguration - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(DfwFirewallConfiguration dfwFirewallConfiguration,
                           com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Security
        Update dfw firewall related configurations. Turning off distributed services (\"enable_firewall\": false) will turn off Distributed Firewall, Identity Firewall, Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface Security
        Parameters:
        dfwFirewallConfiguration - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.