Interface FirewallSchedulers

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String firewallSchedulerId, java.lang.Boolean force)
      Deletes the specified PolicyFirewallScheduler.
      void delete​(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 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 firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deletes the specified PolicyFirewallScheduler.
      PolicyFirewallScheduler get​(java.lang.String firewallSchedulerId)
      Get a PolicyFirewallScheduler by id
      void get​(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)
      Get a PolicyFirewallScheduler by id
      void get​(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 firewallSchedulerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get a PolicyFirewallScheduler by id
      PolicyFirewallSchedulerListResult list​(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 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 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 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 firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)
      Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.
      void patch​(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 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 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 firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)
      Updates a PolicyFirewallScheduler, which can be set at security policy.
      void update​(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 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 firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Updates a PolicyFirewallScheduler, which can be set at security policy.
    • Method Detail

      • delete

        void delete​(java.lang.String firewallSchedulerId,
                    java.lang.Boolean force)
        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.

        Parameters:
        firewallSchedulerId - (required)
        force - Force delete the resource even if it is being used somewhere (optional, default to false)
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • delete

        void delete​(java.lang.String firewallSchedulerId,
                    java.lang.Boolean force,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        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.

        Parameters:
        firewallSchedulerId - (required)
        force - Force delete the resource even if it is being used somewhere (optional, default to false)
        invocationConfig - Configuration for the method invocation.
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • delete

        void delete​(java.lang.String firewallSchedulerId,
                    java.lang.Boolean force,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        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

        Parameters:
        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

        void delete​(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. 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

        Parameters:
        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

        PolicyFirewallScheduler get​(java.lang.String firewallSchedulerId)
        Get a PolicyFirewallScheduler by id

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

        Parameters:
        firewallSchedulerId - (required)
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallScheduler
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        PolicyFirewallScheduler get​(java.lang.String firewallSchedulerId,
                                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        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.

        Parameters:
        firewallSchedulerId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallScheduler
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        void get​(java.lang.String firewallSchedulerId,
                 com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)
        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

        Parameters:
        firewallSchedulerId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        void get​(java.lang.String firewallSchedulerId,
                 com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        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

        Parameters:
        firewallSchedulerId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        PolicyFirewallSchedulerListResult list​(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

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

        Parameters:
        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
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • list

        PolicyFirewallSchedulerListResult list​(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

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

        Parameters:
        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
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • list

        void list​(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

        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

        Parameters:
        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

        void list​(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

        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

        Parameters:
        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

        void patch​(java.lang.String firewallSchedulerId,
                   PolicyFirewallScheduler policyFirewallScheduler)
        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.

        Parameters:
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • patch

        void patch​(java.lang.String firewallSchedulerId,
                   PolicyFirewallScheduler policyFirewallScheduler,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        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.

        Parameters:
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        invocationConfig - Configuration for the method invocation.
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • patch

        void patch​(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. 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

        Parameters:
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        void patch​(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. 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

        Parameters:
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        PolicyFirewallScheduler update​(java.lang.String firewallSchedulerId,
                                       PolicyFirewallScheduler policyFirewallScheduler)
        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.

        Parameters:
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallScheduler
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • update

        PolicyFirewallScheduler update​(java.lang.String firewallSchedulerId,
                                       PolicyFirewallScheduler policyFirewallScheduler,
                                       com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        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.

        Parameters:
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PolicyFirewallScheduler
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • update

        void update​(java.lang.String firewallSchedulerId,
                    PolicyFirewallScheduler policyFirewallScheduler,
                    com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)
        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

        Parameters:
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        void update​(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. 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

        Parameters:
        firewallSchedulerId - (required)
        policyFirewallScheduler - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.