public class AdministratorsStub extends com.vmware.vapi.internal.bindings.Stub implements Administrators
Administrators
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
AdministratorsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
AdministratorsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String groupName)
Add the local sso group with the new group.
|
void |
add(java.lang.String groupName,
AsyncCallback<java.lang.Void> asyncCallback)
Add the local sso group with the new group.
|
void |
add(java.lang.String groupName,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Add the local sso group with the new group.
|
void |
add(java.lang.String groupName,
InvocationConfig invocationConfig)
Add the local sso group with the new group.
|
java.util.Set<java.lang.String> |
get()
Enumerates the set of all the groups in the local sso group.
|
void |
get(AsyncCallback<java.util.Set<java.lang.String>> asyncCallback)
Enumerates the set of all the groups in the local sso group.
|
void |
get(AsyncCallback<java.util.Set<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Enumerates the set of all the groups in the local sso group.
|
java.util.Set<java.lang.String> |
get(InvocationConfig invocationConfig)
Enumerates the set of all the groups in the local sso group.
|
void |
remove(java.lang.String groupName)
Remove the group from the local sso group.
|
void |
remove(java.lang.String groupName,
AsyncCallback<java.lang.Void> asyncCallback)
Remove the group from the local sso group.
|
void |
remove(java.lang.String groupName,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Remove the group from the local sso group.
|
void |
remove(java.lang.String groupName,
InvocationConfig invocationConfig)
Remove the group from the local sso group.
|
void |
set(java.util.Set<java.lang.String> groupNames)
Sets the groups in the local sso group.
|
void |
set(java.util.Set<java.lang.String> groupNames,
AsyncCallback<java.lang.Void> asyncCallback)
Sets the groups in the local sso group.
|
void |
set(java.util.Set<java.lang.String> groupNames,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Sets the groups in the local sso group.
|
void |
set(java.util.Set<java.lang.String> groupNames,
InvocationConfig invocationConfig)
Sets the groups in the local sso group.
|
public AdministratorsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public AdministratorsStub(ApiProvider apiProvider, StubConfigurationBase config)
public void add(java.lang.String groupName)
Administrators
Synchronous method overload. Result of the invocation will be reported as a method return value.
add
in interface Administrators
groupName
- Name of the new group to be added. Ex - xyz@abc.com where xyz is the group name
and abc.com is the domain namepublic void add(java.lang.String groupName, InvocationConfig invocationConfig)
Administrators
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
add
in interface Administrators
groupName
- Name of the new group to be added. Ex - xyz@abc.com where xyz is the group name
and abc.com is the domain nameinvocationConfig
- Configuration for the method invocation.public void add(java.lang.String groupName, AsyncCallback<java.lang.Void> asyncCallback)
Administrators
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- If the user is not authorized.
Error
- if the system reports an error while responding to the request.
add
in interface Administrators
groupName
- Name of the new group to be added. Ex - xyz@abc.com where xyz is the group name
and abc.com is the domain nameasyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void add(java.lang.String groupName, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Administrators
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:
Unauthorized
- If the user is not authorized.
Error
- if the system reports an error while responding to the request.
add
in interface Administrators
groupName
- Name of the new group to be added. Ex - xyz@abc.com where xyz is the group name
and abc.com is the domain nameasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void remove(java.lang.String groupName)
Administrators
Synchronous method overload. Result of the invocation will be reported as a method return value.
remove
in interface Administrators
groupName
- Name of the group to be removed. Ex - xyz@abc.com where xyz is the group name
and abc.com is the domain namepublic void remove(java.lang.String groupName, InvocationConfig invocationConfig)
Administrators
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
remove
in interface Administrators
groupName
- Name of the group to be removed. Ex - xyz@abc.com where xyz is the group name
and abc.com is the domain nameinvocationConfig
- Configuration for the method invocation.public void remove(java.lang.String groupName, AsyncCallback<java.lang.Void> asyncCallback)
Administrators
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- If the user is not authorized.
Error
- if the system reports an error while responding to the request.
remove
in interface Administrators
groupName
- Name of the group to be removed. Ex - xyz@abc.com where xyz is the group name
and abc.com is the domain nameasyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void remove(java.lang.String groupName, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Administrators
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:
Unauthorized
- If the user is not authorized.
Error
- if the system reports an error while responding to the request.
remove
in interface Administrators
groupName
- Name of the group to be removed. Ex - xyz@abc.com where xyz is the group name
and abc.com is the domain nameasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void set(java.util.Set<java.lang.String> groupNames)
Administrators
Synchronous method overload. Result of the invocation will be reported as a method return value.
set
in interface Administrators
groupNames
- Names the groups to be in the CloudAdminGroup Ex - xyz@abc.com where xyz is the
group name and abc.com is the domain namepublic void set(java.util.Set<java.lang.String> groupNames, InvocationConfig invocationConfig)
Administrators
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
set
in interface Administrators
groupNames
- Names the groups to be in the CloudAdminGroup Ex - xyz@abc.com where xyz is the
group name and abc.com is the domain nameinvocationConfig
- Configuration for the method invocation.public void set(java.util.Set<java.lang.String> groupNames, AsyncCallback<java.lang.Void> asyncCallback)
Administrators
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- If the user is not authorized.
Error
- if the system reports an error while responding to the request.
set
in interface Administrators
groupNames
- Names the groups to be in the CloudAdminGroup Ex - xyz@abc.com where xyz is the
group name and abc.com is the domain nameasyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void set(java.util.Set<java.lang.String> groupNames, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Administrators
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:
Unauthorized
- If the user is not authorized.
Error
- if the system reports an error while responding to the request.
set
in interface Administrators
groupNames
- Names the groups to be in the CloudAdminGroup Ex - xyz@abc.com where xyz is the
group name and abc.com is the domain nameasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.util.Set<java.lang.String> get()
Administrators
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Administrators
Set
of all the groups.public java.util.Set<java.lang.String> get(InvocationConfig invocationConfig)
Administrators
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 Administrators
invocationConfig
- Configuration for the method invocation.Set
of all the groups.public void get(AsyncCallback<java.util.Set<java.lang.String>> asyncCallback)
Administrators
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The Set
of all the groups.
Operation Errors:
Error
- if the system reports an error while responding to the request.
get
in interface Administrators
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<java.util.Set<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Administrators
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
The Set
of all the groups.
Operation Errors:
Error
- if the system reports an error while responding to the request.
get
in interface Administrators
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.