public class CredentialStub extends com.vmware.vapi.internal.bindings.Stub implements Credential
Credential
API service.
WARNING: Internal class, subject to change in future versions.
CredentialTypes._VAPI_OPERATIONS
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
CredentialStub(ApiProvider apiProvider,
StubConfigurationBase config) |
CredentialStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
set_Task(java.lang.String cluster,
java.lang.String provider,
char[] credential)
Set the key server credential.
|
void |
set_Task(java.lang.String cluster,
java.lang.String provider,
char[] credential,
AsyncCallback<java.lang.String> asyncCallback)
Set the key server credential.
|
void |
set_Task(java.lang.String cluster,
java.lang.String provider,
char[] credential,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Set the key server credential.
|
java.lang.String |
set_Task(java.lang.String cluster,
java.lang.String provider,
char[] credential,
InvocationConfig invocationConfig)
Set the key server credential.
|
public CredentialStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public CredentialStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String set_Task(java.lang.String cluster, java.lang.String provider, char[] credential)
Credential
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
set_Task
in interface Credential
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.credential
- KMIP KMS password or AWS access key.public java.lang.String set_Task(java.lang.String cluster, java.lang.String provider, char[] credential, InvocationConfig invocationConfig)
Credential
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
set_Task
in interface Credential
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.credential
- KMIP KMS password or AWS access key.invocationConfig
- Configuration for the method invocation.public void set_Task(java.lang.String cluster, java.lang.String provider, char[] credential, AsyncCallback<java.lang.String> asyncCallback)
Credential
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
InvalidArgument
- If cluster or provider id are empty.
NotFound
- If the provider or cluster is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- If any other error occurs.
set_Task
in interface Credential
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.credential
- KMIP KMS password or AWS access key.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void set_Task(java.lang.String cluster, java.lang.String provider, char[] credential, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Credential
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
InvalidArgument
- If cluster or provider id are empty.
NotFound
- If the provider or cluster is not found.
Unauthenticated
- If the caller is not authenticated.
Error
- If any other error occurs.
set_Task
in interface Credential
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.kms.Provider
.credential
- KMIP KMS password or AWS access key.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.