Class CustomAttributesStub

    • Constructor Summary

      Constructors 
      Constructor Description
      CustomAttributesStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      CustomAttributesStub​(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 create​(PolicyAttributes policyAttributes, java.lang.String action)
      This API adds/removes custom attribute values from list for a given attribute key.
      void create​(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      This API adds/removes custom attribute values from list for a given attribute key.
      void create​(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API adds/removes custom attribute values from list for a given attribute key.
      void create​(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API adds/removes custom attribute values from list for a given attribute key.
      void patch​(PolicyAttributes policyAttributes)
      This API updates custom attribute value list for given key.
      void patch​(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      This API updates custom attribute value list for given key.
      void patch​(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API updates custom attribute value list for given key.
      void patch​(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API updates custom attribute value list for given key.
      • 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

      • CustomAttributesStub

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

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

      • create

        public void create​(PolicyAttributes policyAttributes,
                           java.lang.String action)
        Description copied from interface: CustomAttributes
        This API adds/removes custom attribute values from list for a given attribute key.
        This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default to Adds/Removes custom attribute values from list

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

        Specified by:
        create in interface CustomAttributes
        Parameters:
        policyAttributes - (required)
        action - Add or Remove Custom Context Profile Attribute values. (required)
      • create

        public void create​(PolicyAttributes policyAttributes,
                           java.lang.String action,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: CustomAttributes
        This API adds/removes custom attribute values from list for a given attribute key.
        This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default to Adds/Removes custom attribute values from list

        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:
        create in interface CustomAttributes
        Parameters:
        policyAttributes - (required)
        action - Add or Remove Custom Context Profile Attribute values. (required)
        invocationConfig - Configuration for the method invocation.
      • create

        public void create​(PolicyAttributes policyAttributes,
                           java.lang.String action,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: CustomAttributes
        This API adds/removes custom attribute values from list for a given attribute key.
        This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default to Adds/Removes custom attribute values from list

        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:
        create in interface CustomAttributes
        Parameters:
        policyAttributes - (required)
        action - Add or Remove Custom Context Profile Attribute values. (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • create

        public void create​(PolicyAttributes policyAttributes,
                           java.lang.String action,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: CustomAttributes
        This API adds/removes custom attribute values from list for a given attribute key.
        This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default to Adds/Removes custom attribute values from list

        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:
        create in interface CustomAttributes
        Parameters:
        policyAttributes - (required)
        action - Add or Remove Custom Context Profile Attribute values. (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(PolicyAttributes policyAttributes)
        Description copied from interface: CustomAttributes
        This API updates custom attribute value list for given key.
        This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default for create/update custom object attribute value list for given attribute key

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

        Specified by:
        patch in interface CustomAttributes
        Parameters:
        policyAttributes - (required)
      • patch

        public void patch​(PolicyAttributes policyAttributes,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: CustomAttributes
        This API updates custom attribute value list for given key.
        This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default for create/update custom object attribute value list for given attribute key

        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 CustomAttributes
        Parameters:
        policyAttributes - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(PolicyAttributes policyAttributes,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: CustomAttributes
        This API updates custom attribute value list for given key.
        This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default for create/update custom object attribute value list for given attribute key

        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 CustomAttributes
        Parameters:
        policyAttributes - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(PolicyAttributes policyAttributes,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: CustomAttributes
        This API updates custom attribute value list for given key.
        This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default for create/update custom object attribute value list for given attribute key

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