Class CustomAttributesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.orgs.projects.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 theCustomAttributesAPI 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.orgs.projects.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 voidcreate(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes, java.lang.String action)This API adds/removes custom attribute values from list for a given attribute key.voidcreate(java.lang.String orgId, java.lang.String projectId, 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.voidcreate(java.lang.String orgId, java.lang.String projectId, 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.voidcreate(java.lang.String orgId, java.lang.String projectId, 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.voidpatch(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes)This API updates custom attribute value list for given key.voidpatch(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)This API updates custom attribute value list for given key.voidpatch(java.lang.String orgId, java.lang.String projectId, 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.voidpatch(java.lang.String orgId, java.lang.String projectId, 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(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes, java.lang.String action)Description copied from interface:CustomAttributesThis 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:
createin interfaceCustomAttributes- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)policyAttributes- (required)action- Add or Remove Custom Context Profile Attribute values. (required)
-
create
public void create(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:CustomAttributesThis 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
invocationConfigto specify configuration for this particular invocation.- Specified by:
createin interfaceCustomAttributes- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)policyAttributes- (required)action- Add or Remove Custom Context Profile Attribute values. (required)invocationConfig- Configuration for the method invocation.
-
create
public void create(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:CustomAttributesThis 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:
createin interfaceCustomAttributes- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)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(java.lang.String orgId, java.lang.String projectId, 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:CustomAttributesThis 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. UseinvocationConfigto 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:
createin interfaceCustomAttributes- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)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(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes)Description copied from interface:CustomAttributesThis 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:
patchin interfaceCustomAttributes- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)policyAttributes- (required)
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:CustomAttributesThis 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
invocationConfigto specify configuration for this particular invocation.- Specified by:
patchin interfaceCustomAttributes- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)policyAttributes- (required)invocationConfig- Configuration for the method invocation.
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:CustomAttributesThis 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:
patchin interfaceCustomAttributes- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)policyAttributes- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:CustomAttributesThis 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. UseinvocationConfigto 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:
patchin interfaceCustomAttributes- Parameters:
orgId- The organization ID (required)projectId- The project ID (required)policyAttributes- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-