public class CategoryStub extends com.vmware.vapi.internal.bindings.Stub implements Category
Category
API service.
WARNING: Internal class, subject to change in future versions.
CategoryTypes.CreateSpec, CategoryTypes.UpdateSpec
Constructor and Description |
---|
CategoryStub(ApiProvider apiProvider,
StubConfigurationBase config) |
CategoryStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
addToUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity)
|
void |
addToUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback)
|
void |
addToUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
|
void |
addToUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
InvocationConfig invocationConfig)
|
java.lang.String |
create(CategoryTypes.CreateSpec createSpec)
Creates a category.
|
void |
create(CategoryTypes.CreateSpec createSpec,
AsyncCallback<java.lang.String> asyncCallback)
Creates a category.
|
void |
create(CategoryTypes.CreateSpec createSpec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Creates a category.
|
java.lang.String |
create(CategoryTypes.CreateSpec createSpec,
InvocationConfig invocationConfig)
Creates a category.
|
void |
delete(java.lang.String categoryId)
Deletes an existing category.
|
void |
delete(java.lang.String categoryId,
AsyncCallback<java.lang.Void> asyncCallback)
Deletes an existing category.
|
void |
delete(java.lang.String categoryId,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes an existing category.
|
void |
delete(java.lang.String categoryId,
InvocationConfig invocationConfig)
Deletes an existing category.
|
CategoryModel |
get(java.lang.String categoryId)
Fetches the category information for the given category identifier.
|
void |
get(java.lang.String categoryId,
AsyncCallback<CategoryModel> asyncCallback)
Fetches the category information for the given category identifier.
|
void |
get(java.lang.String categoryId,
AsyncCallback<CategoryModel> asyncCallback,
InvocationConfig invocationConfig)
Fetches the category information for the given category identifier.
|
CategoryModel |
get(java.lang.String categoryId,
InvocationConfig invocationConfig)
Fetches the category information for the given category identifier.
|
java.util.List<java.lang.String> |
list()
Enumerates the categories in the system.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Enumerates the categories in the system.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Enumerates the categories in the system.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Enumerates the categories in the system.
|
java.util.List<java.lang.String> |
listUsedCategories(java.lang.String usedByEntity)
Enumerates all categories for which the
usedByEntity is part of the
CategoryModel.getUsedBy() subscribers Set . |
void |
listUsedCategories(java.lang.String usedByEntity,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Enumerates all categories for which the
usedByEntity is part of the
CategoryModel.getUsedBy() subscribers Set . |
void |
listUsedCategories(java.lang.String usedByEntity,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Enumerates all categories for which the
usedByEntity is part of the
CategoryModel.getUsedBy() subscribers Set . |
java.util.List<java.lang.String> |
listUsedCategories(java.lang.String usedByEntity,
InvocationConfig invocationConfig)
Enumerates all categories for which the
usedByEntity is part of the
CategoryModel.getUsedBy() subscribers Set . |
void |
removeFromUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity)
|
void |
removeFromUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback)
|
void |
removeFromUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
|
void |
removeFromUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
InvocationConfig invocationConfig)
|
void |
revokePropagatingPermissions(java.lang.String categoryId)
Revokes all propagating permissions on the given category.
|
void |
revokePropagatingPermissions(java.lang.String categoryId,
AsyncCallback<java.lang.Void> asyncCallback)
Revokes all propagating permissions on the given category.
|
void |
revokePropagatingPermissions(java.lang.String categoryId,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Revokes all propagating permissions on the given category.
|
void |
revokePropagatingPermissions(java.lang.String categoryId,
InvocationConfig invocationConfig)
Revokes all propagating permissions on the given category.
|
void |
update(java.lang.String categoryId,
CategoryTypes.UpdateSpec updateSpec)
Updates an existing category.
|
void |
update(java.lang.String categoryId,
CategoryTypes.UpdateSpec updateSpec,
AsyncCallback<java.lang.Void> asyncCallback)
Updates an existing category.
|
void |
update(java.lang.String categoryId,
CategoryTypes.UpdateSpec updateSpec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates an existing category.
|
void |
update(java.lang.String categoryId,
CategoryTypes.UpdateSpec updateSpec,
InvocationConfig invocationConfig)
Updates an existing category.
|
public CategoryStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public CategoryStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String create(CategoryTypes.CreateSpec createSpec)
Category
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String create(CategoryTypes.CreateSpec createSpec, InvocationConfig invocationConfig)
Category
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 Category
createSpec
- Specification for the new category to be created.invocationConfig
- Configuration for the method invocation.com.vmware.cis.tagging.Category
.public void create(CategoryTypes.CreateSpec createSpec, AsyncCallback<java.lang.String> asyncCallback)
Category
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The identifier of the created category.
The return value will be an identifier for the resource type: com.vmware.cis.tagging.Category
.
Operation Errors:
AlreadyExists
- if the CategoryTypes.CreateSpec.getName()
provided
in the createSpec
is the name of an already existing category.
InvalidArgument
- if any of the information in the createSpec
is invalid.
Unauthorized
- if you do not have the privilege to create a category.
public void create(CategoryTypes.CreateSpec createSpec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Category
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The identifier of the created category.
The return value will be an identifier for the resource type: com.vmware.cis.tagging.Category
.
Operation Errors:
AlreadyExists
- if the CategoryTypes.CreateSpec.getName()
provided
in the createSpec
is the name of an already existing category.
InvalidArgument
- if any of the information in the createSpec
is invalid.
Unauthorized
- if you do not have the privilege to create a category.
public CategoryModel get(java.lang.String categoryId)
Category
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.CategoryModel
that corresponds to categoryId
.public CategoryModel get(java.lang.String categoryId, InvocationConfig invocationConfig)
Category
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.invocationConfig
- Configuration for the method invocation.CategoryModel
that corresponds to categoryId
.public void get(java.lang.String categoryId, AsyncCallback<CategoryModel> asyncCallback)
Category
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The CategoryModel
that corresponds to categoryId
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to read the category.
public void get(java.lang.String categoryId, AsyncCallback<CategoryModel> asyncCallback, InvocationConfig invocationConfig)
Category
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The CategoryModel
that corresponds to categoryId
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to read the category.
get
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void update(java.lang.String categoryId, CategoryTypes.UpdateSpec updateSpec)
Category
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void update(java.lang.String categoryId, CategoryTypes.UpdateSpec updateSpec, InvocationConfig invocationConfig)
Category
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface Category
categoryId
- The identifier of the category to be updated.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.updateSpec
- Specification to update the category.invocationConfig
- Configuration for the method invocation.public void update(java.lang.String categoryId, CategoryTypes.UpdateSpec updateSpec, AsyncCallback<java.lang.Void> asyncCallback)
Category
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
AlreadyExists
- if the CategoryTypes.UpdateSpec.getName()
provided
in the updateSpec
is the name of an already existing category.
InvalidArgument
- if any of the information in the updateSpec
is invalid.
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to update the category.
update
in interface Category
categoryId
- The identifier of the category to be updated.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.updateSpec
- Specification to update the category.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String categoryId, CategoryTypes.UpdateSpec updateSpec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Category
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:
AlreadyExists
- if the CategoryTypes.UpdateSpec.getName()
provided
in the updateSpec
is the name of an already existing category.
InvalidArgument
- if any of the information in the updateSpec
is invalid.
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to update the category.
update
in interface Category
categoryId
- The identifier of the category to be updated.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.updateSpec
- Specification to update the category.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String categoryId)
Category
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String categoryId, InvocationConfig invocationConfig)
Category
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String categoryId, AsyncCallback<java.lang.Void> asyncCallback)
Category
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to delete the category.
public void delete(java.lang.String categoryId, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Category
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:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to delete the category.
delete
in interface Category
categoryId
- The identifier of category to be deleted.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.util.List<java.lang.String> list()
Category
List
will
only contain those categories for which you have read privileges.
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Category
List
will
only contain those categories for which you have read privileges.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Category
List
will
only contain those categories for which you have read privileges.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The List
of resource identifiers for the categories in the
system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.
public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Category
List
will
only contain those categories for which you have read privileges.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The List
of resource identifiers for the categories in the
system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.
public java.util.List<java.lang.String> listUsedCategories(java.lang.String usedByEntity)
Category
usedByEntity
is part of the
CategoryModel.getUsedBy()
subscribers Set
. To invoke this method, you need the read privilege on the
individual categories.
Synchronous method overload. Result of the invocation will be reported as a method return value.
listUsedCategories
in interface Category
usedByEntity
- The field on which the results will be filtered.List
of resource identifiers for the categories in the
system that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.public java.util.List<java.lang.String> listUsedCategories(java.lang.String usedByEntity, InvocationConfig invocationConfig)
Category
usedByEntity
is part of the
CategoryModel.getUsedBy()
subscribers Set
. To invoke this method, you need the read privilege on the
individual categories.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
listUsedCategories
in interface Category
usedByEntity
- The field on which the results will be filtered.invocationConfig
- Configuration for the method invocation.List
of resource identifiers for the categories in the
system that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.public void listUsedCategories(java.lang.String usedByEntity, AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Category
usedByEntity
is part of the
CategoryModel.getUsedBy()
subscribers Set
. To invoke this method, you need the read privilege on the
individual categories.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The List
of resource identifiers for the categories in the
system that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.
listUsedCategories
in interface Category
usedByEntity
- The field on which the results will be filtered.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void listUsedCategories(java.lang.String usedByEntity, AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Category
usedByEntity
is part of the
CategoryModel.getUsedBy()
subscribers Set
. To invoke this method, you need the read privilege on the
individual categories.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The List
of resource identifiers for the categories in the
system that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.
listUsedCategories
in interface Category
usedByEntity
- The field on which the results will be filtered.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void addToUsedBy(java.lang.String categoryId, java.lang.String usedByEntity)
Category
usedByEntity
to the CategoryModel.getUsedBy()
subscribers Set
for the specified category. If the usedByEntity
is
already in the Set
, then this becomes an idempotent no-op. To
invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Synchronous method overload. Result of the invocation will be reported as a method return value.
addToUsedBy
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be added to the CategoryModel.getUsedBy()
Set
.public void addToUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, InvocationConfig invocationConfig)
Category
usedByEntity
to the CategoryModel.getUsedBy()
subscribers Set
for the specified category. If the usedByEntity
is
already in the Set
, then this becomes an idempotent no-op. To
invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
addToUsedBy
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be added to the CategoryModel.getUsedBy()
Set
.invocationConfig
- Configuration for the method invocation.public void addToUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback)
Category
usedByEntity
to the CategoryModel.getUsedBy()
subscribers Set
for the specified category. If the usedByEntity
is
already in the Set
, then this becomes an idempotent no-op. To
invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to add an entity to the CategoryModel.getUsedBy()
field.
addToUsedBy
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be added to the CategoryModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void addToUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Category
usedByEntity
to the CategoryModel.getUsedBy()
subscribers Set
for the specified category. If the usedByEntity
is
already in the Set
, then this becomes an idempotent no-op. To
invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
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:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to add an entity to the CategoryModel.getUsedBy()
field.
addToUsedBy
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be added to the CategoryModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void removeFromUsedBy(java.lang.String categoryId, java.lang.String usedByEntity)
Category
usedByEntity
from the CategoryModel.getUsedBy()
subscribers Set
. If the usedByEntity
is not using this category, then
this becomes a no-op. To invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Synchronous method overload. Result of the invocation will be reported as a method return value.
removeFromUsedBy
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be removed from the CategoryModel.getUsedBy()
Set
.public void removeFromUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, InvocationConfig invocationConfig)
Category
usedByEntity
from the CategoryModel.getUsedBy()
subscribers Set
. If the usedByEntity
is not using this category, then
this becomes a no-op. To invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
removeFromUsedBy
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be removed from the CategoryModel.getUsedBy()
Set
.invocationConfig
- Configuration for the method invocation.public void removeFromUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback)
Category
usedByEntity
from the CategoryModel.getUsedBy()
subscribers Set
. If the usedByEntity
is not using this category, then
this becomes a no-op. To invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to remove an entity from the CategoryModel.getUsedBy()
field.
removeFromUsedBy
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be removed from the CategoryModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void removeFromUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Category
usedByEntity
from the CategoryModel.getUsedBy()
subscribers Set
. If the usedByEntity
is not using this category, then
this becomes a no-op. To invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
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:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to remove an entity from the CategoryModel.getUsedBy()
field.
removeFromUsedBy
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be removed from the CategoryModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void revokePropagatingPermissions(java.lang.String categoryId)
Category
Synchronous method overload. Result of the invocation will be reported as a method return value.
revokePropagatingPermissions
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.public void revokePropagatingPermissions(java.lang.String categoryId, InvocationConfig invocationConfig)
Category
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
revokePropagatingPermissions
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.invocationConfig
- Configuration for the method invocation.public void revokePropagatingPermissions(java.lang.String categoryId, AsyncCallback<java.lang.Void> asyncCallback)
Category
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to revoke propagating permissions on the
category.
revokePropagatingPermissions
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void revokePropagatingPermissions(java.lang.String categoryId, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Category
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:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to revoke propagating permissions on the
category.
revokePropagatingPermissions
in interface Category
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.