Class ResourcesStub

  • All Implemented Interfaces:
    Resources, ResourcesTypes, com.vmware.vapi.bindings.Service

    public class ResourcesStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Resources
    Remote stub implementation of the Resources 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
      ResourcesStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      ResourcesStub​(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 shareId, java.lang.String sharedResourceId)
      Delete Shared Resource.
      void delete​(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete Shared Resource.
      void delete​(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete Shared Resource.
      void delete​(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete Shared Resource.
      SharedResource get​(java.lang.String shareId, java.lang.String sharedResourceId)
      Get the shared resource that represents shared objects.
      void get​(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
      Get the shared resource that represents shared objects.
      void get​(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the shared resource that represents shared objects.
      SharedResource get​(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the shared resource that represents shared objects.
      SharedResourceListResult list​(java.lang.String shareId, java.lang.String resourceType)
      Get the list of shared resource in a given share.
      void list​(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback)
      Get the list of shared resource in a given share.
      void list​(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the list of shared resource in a given share.
      SharedResourceListResult list​(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the list of shared resource in a given share.
      void patch​(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
      If Shared resource already exists, update the shared resource entity.
      void patch​(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      If Shared resource already exists, update the shared resource entity.
      void patch​(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If Shared resource already exists, update the shared resource entity.
      void patch​(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If Shared resource already exists, update the shared resource entity.
      SharedResource update​(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
      If Shared resource already exists, update the shared resource entity.
      void update​(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
      If Shared resource already exists, update the shared resource entity.
      void update​(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If Shared resource already exists, update the shared resource entity.
      SharedResource update​(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If Shared resource already exists, update the shared resource entity.
      • 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

      • ResourcesStub

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

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

      • delete

        public void delete​(java.lang.String shareId,
                           java.lang.String sharedResourceId)
        Description copied from interface: Resources
        Delete Shared Resource.

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

        Specified by:
        delete in interface Resources
        Parameters:
        shareId - (required)
        sharedResourceId - (required)
      • delete

        public void delete​(java.lang.String shareId,
                           java.lang.String sharedResourceId,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        Delete Shared Resource.

        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 Resources
        Parameters:
        shareId - (required)
        sharedResourceId - (required)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String shareId,
                           java.lang.String sharedResourceId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Resources
        Delete Shared Resource.

        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 Resources
        Parameters:
        shareId - (required)
        sharedResourceId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String shareId,
                           java.lang.String sharedResourceId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        Delete Shared Resource.

        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 Resources
        Parameters:
        shareId - (required)
        sharedResourceId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        public SharedResource get​(java.lang.String shareId,
                                  java.lang.String sharedResourceId)
        Description copied from interface: Resources
        Get the shared resource that represents shared objects.

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

        Specified by:
        get in interface Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        Returns:
        com.vmware.nsx_policy.model.SharedResource
      • get

        public SharedResource get​(java.lang.String shareId,
                                  java.lang.String sharedResourceId,
                                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        Get the shared resource that represents shared objects.

        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 Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.SharedResource
      • get

        public void get​(java.lang.String shareId,
                        java.lang.String sharedResourceId,
                        com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
        Description copied from interface: Resources
        Get the shared resource that represents shared objects.

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

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

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

        Specified by:
        get in interface Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String shareId,
                        java.lang.String sharedResourceId,
                        com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        Get the shared resource that represents shared objects.

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

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

        Specified by:
        get in interface Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public SharedResourceListResult list​(java.lang.String shareId,
                                             java.lang.String resourceType)
        Description copied from interface: Resources
        Get the list of shared resource in a given share.

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

        Specified by:
        list in interface Resources
        Parameters:
        shareId - Share ID (required)
        resourceType - resource type (optional)
        Returns:
        com.vmware.nsx_policy.model.SharedResourceListResult
      • list

        public SharedResourceListResult list​(java.lang.String shareId,
                                             java.lang.String resourceType,
                                             com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        Get the list of shared resource in a given share.

        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 Resources
        Parameters:
        shareId - Share ID (required)
        resourceType - resource type (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.SharedResourceListResult
      • list

        public void list​(java.lang.String shareId,
                         java.lang.String resourceType,
                         com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback)
        Description copied from interface: Resources
        Get the list of shared resource in a given share.

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

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

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

        Specified by:
        list in interface Resources
        Parameters:
        shareId - Share ID (required)
        resourceType - resource type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(java.lang.String shareId,
                         java.lang.String resourceType,
                         com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        Get the list of shared resource in a given share.

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

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

        Specified by:
        list in interface Resources
        Parameters:
        shareId - Share ID (required)
        resourceType - resource type (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 shareId,
                          java.lang.String sharedResourceId,
                          SharedResource sharedResource)
        Description copied from interface: Resources
        If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.

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

        Specified by:
        patch in interface Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        sharedResource - (required)
      • patch

        public void patch​(java.lang.String shareId,
                          java.lang.String sharedResourceId,
                          SharedResource sharedResource,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.

        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 Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        sharedResource - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String shareId,
                          java.lang.String sharedResourceId,
                          SharedResource sharedResource,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Resources
        If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.

        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 Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        sharedResource - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(java.lang.String shareId,
                          java.lang.String sharedResourceId,
                          SharedResource sharedResource,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.

        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 Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        sharedResource - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public SharedResource update​(java.lang.String shareId,
                                     java.lang.String sharedResourceId,
                                     SharedResource sharedResource)
        Description copied from interface: Resources
        If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.

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

        Specified by:
        update in interface Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        sharedResource - (required)
        Returns:
        com.vmware.nsx_policy.model.SharedResource
      • update

        public SharedResource update​(java.lang.String shareId,
                                     java.lang.String sharedResourceId,
                                     SharedResource sharedResource,
                                     com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.

        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 Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        sharedResource - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.SharedResource
      • update

        public void update​(java.lang.String shareId,
                           java.lang.String sharedResourceId,
                           SharedResource sharedResource,
                           com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
        Description copied from interface: Resources
        If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.

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

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

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

        Specified by:
        update in interface Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        sharedResource - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String shareId,
                           java.lang.String sharedResourceId,
                           SharedResource sharedResource,
                           com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Resources
        If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.

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

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

        Specified by:
        update in interface Resources
        Parameters:
        shareId - Share ID (required)
        sharedResourceId - Shared resource id (required)
        sharedResource - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.