public class ReplaceHostCertificateStub extends com.vmware.vapi.internal.bindings.Stub implements ReplaceHostCertificate
ReplaceHostCertificate
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ReplaceHostCertificateStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ReplaceHostCertificateStub(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 |
---|---|
void |
create(java.lang.String hostId,
TrustObjectData trustObjectData)
Sends a new private-public certificate or a chain of certificates (CAs) and a
private key to be used on a Transport Node.
|
void |
create(java.lang.String hostId,
TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Sends a new private-public certificate or a chain of certificates (CAs) and a
private key to be used on a Transport Node.
|
void |
create(java.lang.String hostId,
TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Sends a new private-public certificate or a chain of certificates (CAs) and a
private key to be used on a Transport Node.
|
void |
create(java.lang.String hostId,
TrustObjectData trustObjectData,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Sends a new private-public certificate or a chain of certificates (CAs) and a
private key to be used on a Transport Node.
|
public ReplaceHostCertificateStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ReplaceHostCertificateStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void create(java.lang.String hostId, TrustObjectData trustObjectData)
ReplaceHostCertificate
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ReplaceHostCertificate
hostId
- The host-id for which this certificate is meant. (required)trustObjectData
- (required)public void create(java.lang.String hostId, TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ReplaceHostCertificate
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 ReplaceHostCertificate
hostId
- The host-id for which this certificate is meant. (required)trustObjectData
- (required)invocationConfig
- Configuration for the method invocation.public void create(java.lang.String hostId, TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ReplaceHostCertificate
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
create
in interface ReplaceHostCertificate
hostId
- The host-id for which this certificate is meant. (required)trustObjectData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String hostId, TrustObjectData trustObjectData, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ReplaceHostCertificate
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
create
in interface ReplaceHostCertificate
hostId
- The host-id for which this certificate is meant. (required)trustObjectData
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.