Class FileStub

  • All Implemented Interfaces:
    File, FileTypes, com.vmware.vapi.bindings.Service

    public class FileStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements File
    Remote stub implementation of the File 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
      FileStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      FileStub​(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 instanceId, java.lang.Boolean force)
      Uninstall the Dynamic Runbook package from the instance
      void delete​(java.lang.String instanceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Uninstall the Dynamic Runbook package from the instance
      void delete​(java.lang.String instanceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Uninstall the Dynamic Runbook package from the instance
      void delete​(java.lang.String instanceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Uninstall the Dynamic Runbook package from the instance
      • 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

      • FileStub

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

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

      • delete

        public void delete​(java.lang.String instanceId,
                           java.lang.Boolean force)
        Description copied from interface: File
        Uninstall the Dynamic Runbook package from the instance

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

        Specified by:
        delete in interface File
        Parameters:
        instanceId - (required)
        force - Force delete the resource even if it is being used somewhere (optional, default to false)
      • delete

        public void delete​(java.lang.String instanceId,
                           java.lang.Boolean force,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: File
        Uninstall the Dynamic Runbook package from the instance

        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 File
        Parameters:
        instanceId - (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 instanceId,
                           java.lang.Boolean force,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: File
        Uninstall the Dynamic Runbook package from the instance

        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 File
        Parameters:
        instanceId - (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 instanceId,
                           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: File
        Uninstall the Dynamic Runbook package from the instance

        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 File
        Parameters:
        instanceId - (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.