Class CustomAttributesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.context_profiles.CustomAttributesStub
-
- All Implemented Interfaces:
CustomAttributes
,CustomAttributesTypes
,com.vmware.vapi.bindings.Service
public class CustomAttributesStub extends com.vmware.vapi.internal.bindings.Stub implements CustomAttributes
Remote stub implementation of theCustomAttributes
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
-
Fields inherited from interface com.vmware.nsx_policy.infra.context_profiles.CustomAttributesTypes
_VAPI_SERVICE_ID, CREATE_ACTION_ADD, CREATE_ACTION_REMOVE
-
-
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.
-
-
-
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 listSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
create
in interfaceCustomAttributes
- 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 listSynchronous 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 interfaceCustomAttributes
- 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 listAsynchronous 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 interfaceCustomAttributes
- 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 listAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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 interfaceCustomAttributes
- 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 keySynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patch
in interfaceCustomAttributes
- 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 keySynchronous 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 interfaceCustomAttributes
- 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 keyAsynchronous 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 interfaceCustomAttributes
- 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 keyAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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 interfaceCustomAttributes
- Parameters:
policyAttributes
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-