Class RoleAssignmentPermissionConfigStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.aaa.roles.RoleAssignmentPermissionConfigStub
-
- All Implemented Interfaces:
RoleAssignmentPermissionConfig
,RoleAssignmentPermissionConfigTypes
,com.vmware.vapi.bindings.Service
public class RoleAssignmentPermissionConfigStub extends com.vmware.vapi.internal.bindings.Stub implements RoleAssignmentPermissionConfig
Remote stub implementation of theRoleAssignmentPermissionConfig
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.aaa.roles.RoleAssignmentPermissionConfigTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description RoleAssignmentPermissionConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
RoleAssignmentPermissionConfigStub(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
update(java.lang.String role, RoleAssignmentPermissionConfig roleAssignmentPermissionConfig)
Provides a means to allow or disallow project administrators and VPC administrators to assign roles to other users on projects and VPCs.void
update(java.lang.String role, RoleAssignmentPermissionConfig roleAssignmentPermissionConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Provides a means to allow or disallow project administrators and VPC administrators to assign roles to other users on projects and VPCs.void
update(java.lang.String role, RoleAssignmentPermissionConfig roleAssignmentPermissionConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Provides a means to allow or disallow project administrators and VPC administrators to assign roles to other users on projects and VPCs.void
update(java.lang.String role, RoleAssignmentPermissionConfig roleAssignmentPermissionConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Provides a means to allow or disallow project administrators and VPC administrators to assign roles to other users on projects and VPCs.
-
-
-
Constructor Detail
-
RoleAssignmentPermissionConfigStub
public RoleAssignmentPermissionConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
RoleAssignmentPermissionConfigStub
public RoleAssignmentPermissionConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
update
public void update(java.lang.String role, RoleAssignmentPermissionConfig roleAssignmentPermissionConfig)
Description copied from interface:RoleAssignmentPermissionConfig
Provides a means to allow or disallow project administrators and VPC administrators to assign roles to other users on projects and VPCs.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceRoleAssignmentPermissionConfig
- Parameters:
role
- role id (either \"project_admin\" or \"vpc_admin\") (required)roleAssignmentPermissionConfig
- (required)
-
update
public void update(java.lang.String role, RoleAssignmentPermissionConfig roleAssignmentPermissionConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:RoleAssignmentPermissionConfig
Provides a means to allow or disallow project administrators and VPC administrators to assign roles to other users on projects and VPCs.Synchronous 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:
update
in interfaceRoleAssignmentPermissionConfig
- Parameters:
role
- role id (either \"project_admin\" or \"vpc_admin\") (required)roleAssignmentPermissionConfig
- (required)invocationConfig
- Configuration for the method invocation.
-
update
public void update(java.lang.String role, RoleAssignmentPermissionConfig roleAssignmentPermissionConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:RoleAssignmentPermissionConfig
Provides a means to allow or disallow project administrators and VPC administrators to assign roles to other users on projects and VPCs.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
- Specified by:
update
in interfaceRoleAssignmentPermissionConfig
- Parameters:
role
- role id (either \"project_admin\" or \"vpc_admin\") (required)roleAssignmentPermissionConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String role, RoleAssignmentPermissionConfig roleAssignmentPermissionConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:RoleAssignmentPermissionConfig
Provides a means to allow or disallow project administrators and VPC administrators to assign roles to other users on projects and VPCs.Asynchronous 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:
update
in interfaceRoleAssignmentPermissionConfig
- Parameters:
role
- role id (either \"project_admin\" or \"vpc_admin\") (required)roleAssignmentPermissionConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-