public class TokenPrincipalIdentitiesStub extends com.vmware.vapi.internal.bindings.Stub implements TokenPrincipalIdentities
TokenPrincipalIdentities
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TokenPrincipalIdentitiesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
TokenPrincipalIdentitiesStub(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 |
---|---|
TokenBasedPrincipalIdentity |
create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity)
Register a principal identity that is going to be authenticated through a token.
|
void |
create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity,
com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback)
Register a principal identity that is going to be authenticated through a token.
|
void |
create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity,
com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Register a principal identity that is going to be authenticated through a token.
|
TokenBasedPrincipalIdentity |
create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Register a principal identity that is going to be authenticated through a token.
|
void |
delete(java.lang.String principalIdentityId)
Delete a token-based principal identity.
|
void |
delete(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a token-based principal identity.
|
void |
delete(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a token-based principal identity.
|
void |
delete(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a token-based principal identity.
|
TokenBasedPrincipalIdentity |
get(java.lang.String principalIdentityId)
Get a stored token-based principal identity
|
void |
get(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback)
Get a stored token-based principal identity
|
void |
get(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a stored token-based principal identity
|
TokenBasedPrincipalIdentity |
get(java.lang.String principalIdentityId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a stored token-based principal identity
|
TokenBasedPrincipalIdentityListResult |
list()
Return the list of token-based principal identities.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentityListResult> asyncCallback)
Return the list of token-based principal identities.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentityListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return the list of token-based principal identities.
|
TokenBasedPrincipalIdentityListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return the list of token-based principal identities.
|
public TokenPrincipalIdentitiesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public TokenPrincipalIdentitiesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public TokenBasedPrincipalIdentity create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity)
TokenPrincipalIdentities
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface TokenPrincipalIdentities
tokenBasedPrincipalIdentity
- (required)public TokenBasedPrincipalIdentity create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TokenPrincipalIdentities
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 TokenPrincipalIdentities
tokenBasedPrincipalIdentity
- (required)invocationConfig
- Configuration for the method invocation.public void create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity, com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback)
TokenPrincipalIdentities
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TokenBasedPrincipalIdentity
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface TokenPrincipalIdentities
tokenBasedPrincipalIdentity
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(TokenBasedPrincipalIdentity tokenBasedPrincipalIdentity, com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TokenPrincipalIdentities
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:
com.vmware.nsx.model.TokenBasedPrincipalIdentity
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface TokenPrincipalIdentities
tokenBasedPrincipalIdentity
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String principalIdentityId)
TokenPrincipalIdentities
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface TokenPrincipalIdentities
principalIdentityId
- Unique id of the token-based principal identity to delete (required)public void delete(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TokenPrincipalIdentities
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface TokenPrincipalIdentities
principalIdentityId
- Unique id of the token-based principal identity to delete (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
TokenPrincipalIdentities
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
delete
in interface TokenPrincipalIdentities
principalIdentityId
- Unique id of the token-based principal identity to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TokenPrincipalIdentities
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
delete
in interface TokenPrincipalIdentities
principalIdentityId
- Unique id of the token-based principal identity to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public TokenBasedPrincipalIdentity get(java.lang.String principalIdentityId)
TokenPrincipalIdentities
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface TokenPrincipalIdentities
principalIdentityId
- ID of the principal identity to get (required)public TokenBasedPrincipalIdentity get(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TokenPrincipalIdentities
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 TokenPrincipalIdentities
principalIdentityId
- ID of the principal identity to get (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback)
TokenPrincipalIdentities
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TokenBasedPrincipalIdentity
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface TokenPrincipalIdentities
principalIdentityId
- ID of the principal identity to get (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String principalIdentityId, com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentity> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TokenPrincipalIdentities
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:
com.vmware.nsx.model.TokenBasedPrincipalIdentity
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface TokenPrincipalIdentities
principalIdentityId
- ID of the principal identity to get (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public TokenBasedPrincipalIdentityListResult list()
TokenPrincipalIdentities
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface TokenPrincipalIdentities
public TokenBasedPrincipalIdentityListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TokenPrincipalIdentities
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface TokenPrincipalIdentities
invocationConfig
- Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentityListResult> asyncCallback)
TokenPrincipalIdentities
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TokenBasedPrincipalIdentityListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface TokenPrincipalIdentities
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<TokenBasedPrincipalIdentityListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TokenPrincipalIdentities
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:
com.vmware.nsx.model.TokenBasedPrincipalIdentityListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface TokenPrincipalIdentities
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.