public class CustomAttributesStub extends com.vmware.vapi.internal.bindings.Stub implements CustomAttributes
CustomAttributes
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, CREATE_ACTION_ADD, CREATE_ACTION_REMOVE
Constructor and 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) |
Modifier and Type | Method and 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.
|
public CustomAttributesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public CustomAttributesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void create(PolicyAttributes policyAttributes, java.lang.String action)
CustomAttributes
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface CustomAttributes
policyAttributes
- (required)action
- Add or Remove Custom Context Profile Attribute values. (required)public void create(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CustomAttributes
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface CustomAttributes
policyAttributes
- (required)action
- Add or Remove Custom Context Profile Attribute values. (required)invocationConfig
- Configuration for the method invocation.public void create(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
CustomAttributes
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
create
in interface CustomAttributes
policyAttributes
- (required)action
- Add or Remove Custom Context Profile Attribute values. (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.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)
CustomAttributes
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
create
in interface CustomAttributes
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.public void patch(PolicyAttributes policyAttributes)
CustomAttributes
Synchronous method overload. Result of the invocation will be reported as a method return value.
patch
in interface CustomAttributes
policyAttributes
- (required)public void patch(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CustomAttributes
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
patch
in interface CustomAttributes
policyAttributes
- (required)invocationConfig
- Configuration for the method invocation.public void patch(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
CustomAttributes
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
patch
in interface CustomAttributes
policyAttributes
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void patch(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
CustomAttributes
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
patch
in interface CustomAttributes
policyAttributes
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.