public class TrustedRootChainsStub extends com.vmware.vapi.internal.bindings.Stub implements TrustedRootChains
TrustedRootChains
API service.
WARNING: Internal class, subject to change in future versions.
TrustedRootChainsTypes.CreateSpec, TrustedRootChainsTypes.Info, TrustedRootChainsTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TrustedRootChainsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TrustedRootChainsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(TrustedRootChainsTypes.CreateSpec spec)
Creates a new trusted root certificate chain from the CreateSpec.
|
void |
create(TrustedRootChainsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Creates a new trusted root certificate chain from the CreateSpec.
|
void |
create(TrustedRootChainsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Creates a new trusted root certificate chain from the CreateSpec.
|
java.lang.String |
create(TrustedRootChainsTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates a new trusted root certificate chain from the CreateSpec.
|
void |
delete(java.lang.String chain)
Deletes trusted root certificate chain for a given identifier.
|
void |
delete(java.lang.String chain,
AsyncCallback<java.lang.Void> asyncCallback)
Deletes trusted root certificate chain for a given identifier.
|
void |
delete(java.lang.String chain,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes trusted root certificate chain for a given identifier.
|
void |
delete(java.lang.String chain,
InvocationConfig invocationConfig)
Deletes trusted root certificate chain for a given identifier.
|
TrustedRootChainsTypes.Info |
get(java.lang.String chain)
Retrieve a trusted root certificate chain for a given identifier.
|
void |
get(java.lang.String chain,
AsyncCallback<TrustedRootChainsTypes.Info> asyncCallback)
Retrieve a trusted root certificate chain for a given identifier.
|
void |
get(java.lang.String chain,
AsyncCallback<TrustedRootChainsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieve a trusted root certificate chain for a given identifier.
|
TrustedRootChainsTypes.Info |
get(java.lang.String chain,
InvocationConfig invocationConfig)
Retrieve a trusted root certificate chain for a given identifier.
|
java.util.List<TrustedRootChainsTypes.Summary> |
list()
Returns summary information for each trusted root certificate chain.
|
void |
list(AsyncCallback<java.util.List<TrustedRootChainsTypes.Summary>> asyncCallback)
Returns summary information for each trusted root certificate chain.
|
void |
list(AsyncCallback<java.util.List<TrustedRootChainsTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns summary information for each trusted root certificate chain.
|
java.util.List<TrustedRootChainsTypes.Summary> |
list(InvocationConfig invocationConfig)
Returns summary information for each trusted root certificate chain.
|
public TrustedRootChainsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TrustedRootChainsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<TrustedRootChainsTypes.Summary> list()
TrustedRootChains
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface TrustedRootChains
public java.util.List<TrustedRootChainsTypes.Summary> list(InvocationConfig invocationConfig)
TrustedRootChains
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 TrustedRootChains
invocationConfig
- Configuration for the method invocation.public void list(AsyncCallback<java.util.List<TrustedRootChainsTypes.Summary>> asyncCallback)
TrustedRootChains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of trusted root certificate chains summaries.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. list
in interface TrustedRootChains
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<TrustedRootChainsTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
TrustedRootChains
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:
List of trusted root certificate chains summaries.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. list
in interface TrustedRootChains
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String create(TrustedRootChainsTypes.CreateSpec spec)
TrustedRootChains
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface TrustedRootChains
spec
- The information needed to create a trusted root certificate chain.public java.lang.String create(TrustedRootChainsTypes.CreateSpec spec, InvocationConfig invocationConfig)
TrustedRootChains
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 TrustedRootChains
spec
- The information needed to create a trusted root certificate chain.invocationConfig
- Configuration for the method invocation.public void create(TrustedRootChainsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
TrustedRootChains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The unique identifier for the new trusted root chain.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
AlreadyExists
- if a trusted root certificate chain exists with id in given spec.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. create
in interface TrustedRootChains
spec
- The information needed to create a trusted root certificate chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(TrustedRootChainsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
TrustedRootChains
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 unique identifier for the new trusted root chain.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
AlreadyExists
- if a trusted root certificate chain exists with id in given spec.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. create
in interface TrustedRootChains
spec
- The information needed to create a trusted root certificate chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public TrustedRootChainsTypes.Info get(java.lang.String chain)
TrustedRootChains
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface TrustedRootChains
chain
- Unique identifier for a trusted root cert chain.public TrustedRootChainsTypes.Info get(java.lang.String chain, InvocationConfig invocationConfig)
TrustedRootChains
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 TrustedRootChains
chain
- Unique identifier for a trusted root cert chain.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String chain, AsyncCallback<TrustedRootChainsTypes.Info> asyncCallback)
TrustedRootChains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
TrustedRootChain.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if a trusted root certificate chain does not exist for given id.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. get
in interface TrustedRootChains
chain
- Unique identifier for a trusted root cert chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String chain, AsyncCallback<TrustedRootChainsTypes.Info> asyncCallback, InvocationConfig invocationConfig)
TrustedRootChains
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:
TrustedRootChain.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if a trusted root certificate chain does not exist for given id.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. get
in interface TrustedRootChains
chain
- Unique identifier for a trusted root cert chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String chain)
TrustedRootChains
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface TrustedRootChains
chain
- Unique identifier for a trusted root cert chain.public void delete(java.lang.String chain, InvocationConfig invocationConfig)
TrustedRootChains
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 TrustedRootChains
chain
- Unique identifier for a trusted root cert chain.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String chain, AsyncCallback<java.lang.Void> asyncCallback)
TrustedRootChains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if a trusted root certificate chain does not exist for given id.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. delete
in interface TrustedRootChains
chain
- Unique identifier for a trusted root cert chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String chain, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
TrustedRootChains
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 authorization is not given to caller.
NotFound
- if a trusted root certificate chain does not exist for given id.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. delete
in interface TrustedRootChains
chain
- Unique identifier for a trusted root cert chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.