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​(java.lang.String orgId, java.lang.String projectId)
      Get the current dfw firewall configurations.
      void get​(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
      Get the current dfw firewall configurations.
      void get​(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the current dfw firewall configurations.
      DfwFirewallConfiguration get​(java.lang.String orgId, java.lang.String projectId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the current dfw firewall configurations.
      void patch​(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration)
      Update dfw firewall related configurations.
      void patch​(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Update dfw firewall related configurations.
      void patch​(java.lang.String orgId, java.lang.String projectId, 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​(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update dfw firewall related configurations.
      DfwFirewallConfiguration update​(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration)
      Update dfw firewall related configurations.
      void update​(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback)
      Update dfw firewall related configurations.
      void update​(java.lang.String orgId, java.lang.String projectId, DfwFirewallConfiguration dfwFirewallConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<DfwFirewallConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update dfw firewall related configurations.
      DfwFirewallConfiguration update​(java.lang.String orgId, java.lang.String projectId, 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​(java.lang.String orgId,
                                            java.lang.String projectId)
        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
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        Returns:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration
      • get

        public DfwFirewallConfiguration get​(java.lang.String orgId,
                                            java.lang.String projectId,
                                            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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration
      • get

        public void get​(java.lang.String orgId,
                        java.lang.String projectId,
                        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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String orgId,
                        java.lang.String projectId,
                        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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        dfwFirewallConfiguration - (required)
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        dfwFirewallConfiguration - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        dfwFirewallConfiguration - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        dfwFirewallConfiguration - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public DfwFirewallConfiguration update​(java.lang.String orgId,
                                               java.lang.String projectId,
                                               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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        dfwFirewallConfiguration - (required)
        Returns:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration
      • update

        public DfwFirewallConfiguration update​(java.lang.String orgId,
                                               java.lang.String projectId,
                                               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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        dfwFirewallConfiguration - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.DfwFirewallConfiguration
      • update

        public void update​(java.lang.String orgId,
                           java.lang.String projectId,
                           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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        dfwFirewallConfiguration - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String orgId,
                           java.lang.String projectId,
                           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:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        dfwFirewallConfiguration - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.