Class FirewallSchedulersStub

    • Field Summary

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

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

      Constructors 
      Constructor Description
      FirewallSchedulersStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      FirewallSchedulersStub​(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
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, java.lang.Boolean force)
      Deletes the specified PolicyFirewallScheduler.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Deletes the specified PolicyFirewallScheduler.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deletes the specified PolicyFirewallScheduler.
      void delete​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deletes the specified PolicyFirewallScheduler.
      PolicyFirewallScheduler get​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId)
      Get a PolicyFirewallScheduler by id
      void get​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)
      Get a PolicyFirewallScheduler by id
      void get​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get a PolicyFirewallScheduler by id
      PolicyFirewallScheduler get​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get a PolicyFirewallScheduler by id
      PolicyFirewallSchedulerListResult list​(java.lang.String orgId, java.lang.String projectId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
      Get all PolicyFirewallSchedulers
      void list​(java.lang.String orgId, java.lang.String projectId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallSchedulerListResult> asyncCallback)
      Get all PolicyFirewallSchedulers
      void list​(java.lang.String orgId, java.lang.String projectId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallSchedulerListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get all PolicyFirewallSchedulers
      PolicyFirewallSchedulerListResult list​(java.lang.String orgId, java.lang.String projectId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get all PolicyFirewallSchedulers
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)
      Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.
      void patch​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.
      PolicyFirewallScheduler update​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)
      Updates a PolicyFirewallScheduler, which can be set at security policy.
      void update​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)
      Updates a PolicyFirewallScheduler, which can be set at security policy.
      void update​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Updates a PolicyFirewallScheduler, which can be set at security policy.
      PolicyFirewallScheduler update​(java.lang.String orgId, java.lang.String projectId, java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Updates a PolicyFirewallScheduler, which can be set at security policy.
      • 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

      • FirewallSchedulersStub

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

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

      • delete

        public void delete​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String firewallSchedulerId,
                           java.lang.Boolean force)
        Description copied from interface: FirewallSchedulers
        Deletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won't get deleted.

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

        Specified by:
        delete in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        force - Force delete the resource even if it is being used somewhere (optional, default to false)
      • delete

        public void delete​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String firewallSchedulerId,
                           java.lang.Boolean force,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Deletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won't get deleted.

        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:
        delete in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        force - Force delete the resource even if it is being used somewhere (optional, default to false)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String firewallSchedulerId,
                           java.lang.Boolean force,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: FirewallSchedulers
        Deletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won't get deleted.

        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:
        delete in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        force - Force delete the resource even if it is being used somewhere (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String firewallSchedulerId,
                           java.lang.Boolean force,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Deletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won't get deleted.

        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:
        delete in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        force - Force delete the resource even if it is being used somewhere (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        public PolicyFirewallScheduler get​(java.lang.String orgId,
                                           java.lang.String projectId,
                                           java.lang.String firewallSchedulerId)
        Description copied from interface: FirewallSchedulers
        Get a PolicyFirewallScheduler by id

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

        Specified by:
        get in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallScheduler
      • get

        public PolicyFirewallScheduler get​(java.lang.String orgId,
                                           java.lang.String projectId,
                                           java.lang.String firewallSchedulerId,
                                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Get a PolicyFirewallScheduler by id

        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 FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallScheduler
      • get

        public void get​(java.lang.String orgId,
                        java.lang.String projectId,
                        java.lang.String firewallSchedulerId,
                        com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)
        Description copied from interface: FirewallSchedulers
        Get a PolicyFirewallScheduler by id

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

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

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

        Specified by:
        get in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (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,
                        java.lang.String firewallSchedulerId,
                        com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Get a PolicyFirewallScheduler by id

        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.PolicyFirewallScheduler

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

        Specified by:
        get in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public PolicyFirewallSchedulerListResult list​(java.lang.String orgId,
                                                      java.lang.String projectId,
                                                      java.lang.String cursor,
                                                      java.lang.Boolean includeMarkForDeleteObjects,
                                                      java.lang.String includedFields,
                                                      java.lang.Long pageSize,
                                                      java.lang.Boolean sortAscending,
                                                      java.lang.String sortBy)
        Description copied from interface: FirewallSchedulers
        Get all PolicyFirewallSchedulers

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

        Specified by:
        list in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallSchedulerListResult
      • list

        public PolicyFirewallSchedulerListResult list​(java.lang.String orgId,
                                                      java.lang.String projectId,
                                                      java.lang.String cursor,
                                                      java.lang.Boolean includeMarkForDeleteObjects,
                                                      java.lang.String includedFields,
                                                      java.lang.Long pageSize,
                                                      java.lang.Boolean sortAscending,
                                                      java.lang.String sortBy,
                                                      com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Get all PolicyFirewallSchedulers

        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:
        list in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallSchedulerListResult
      • list

        public void list​(java.lang.String orgId,
                         java.lang.String projectId,
                         java.lang.String cursor,
                         java.lang.Boolean includeMarkForDeleteObjects,
                         java.lang.String includedFields,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallSchedulerListResult> asyncCallback)
        Description copied from interface: FirewallSchedulers
        Get all PolicyFirewallSchedulers

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

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

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

        Specified by:
        list in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(java.lang.String orgId,
                         java.lang.String projectId,
                         java.lang.String cursor,
                         java.lang.Boolean includeMarkForDeleteObjects,
                         java.lang.String includedFields,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallSchedulerListResult> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Get all PolicyFirewallSchedulers

        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.PolicyFirewallSchedulerListResult

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

        Specified by:
        list in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        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,
                          java.lang.String firewallSchedulerId,
                          PolicyFirewallScheduler policyFirewallScheduler)
        Description copied from interface: FirewallSchedulers
        Creates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.

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

        Specified by:
        patch in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String firewallSchedulerId,
                          PolicyFirewallScheduler policyFirewallScheduler,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Creates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.

        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 FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String orgId,
                          java.lang.String projectId,
                          java.lang.String firewallSchedulerId,
                          PolicyFirewallScheduler policyFirewallScheduler,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: FirewallSchedulers
        Creates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.

        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 FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        policyFirewallScheduler - (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,
                          java.lang.String firewallSchedulerId,
                          PolicyFirewallScheduler policyFirewallScheduler,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Creates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.

        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 FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public PolicyFirewallScheduler update​(java.lang.String orgId,
                                              java.lang.String projectId,
                                              java.lang.String firewallSchedulerId,
                                              PolicyFirewallScheduler policyFirewallScheduler)
        Description copied from interface: FirewallSchedulers
        Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.

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

        Specified by:
        update in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallScheduler
      • update

        public PolicyFirewallScheduler update​(java.lang.String orgId,
                                              java.lang.String projectId,
                                              java.lang.String firewallSchedulerId,
                                              PolicyFirewallScheduler policyFirewallScheduler,
                                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.

        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 FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallScheduler
      • update

        public void update​(java.lang.String orgId,
                           java.lang.String projectId,
                           java.lang.String firewallSchedulerId,
                           PolicyFirewallScheduler policyFirewallScheduler,
                           com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)
        Description copied from interface: FirewallSchedulers
        Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.

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

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

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

        Specified by:
        update in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        policyFirewallScheduler - (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,
                           java.lang.String firewallSchedulerId,
                           PolicyFirewallScheduler policyFirewallScheduler,
                           com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: FirewallSchedulers
        Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.

        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.PolicyFirewallScheduler

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

        Specified by:
        update in interface FirewallSchedulers
        Parameters:
        orgId - The organization ID (required)
        projectId - The project ID (required)
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.