public class PolicyStub extends com.vmware.vapi.internal.bindings.Stub implements Policy
Policy
API service.
WARNING: Internal class, subject to change in future versions.
PolicyTypes.Info| Constructor and Description |
|---|
PolicyStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PolicyStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
PolicyTypes.Info |
get()
Get the global password policy.
|
void |
get(AsyncCallback<PolicyTypes.Info> asyncCallback)
Get the global password policy.
|
void |
get(AsyncCallback<PolicyTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the global password policy.
|
PolicyTypes.Info |
get(InvocationConfig invocationConfig)
Get the global password policy.
|
void |
set(PolicyTypes.Info policy)
Set the global password policy.
|
void |
set(PolicyTypes.Info policy,
AsyncCallback<java.lang.Void> asyncCallback)
Set the global password policy.
|
void |
set(PolicyTypes.Info policy,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set the global password policy.
|
void |
set(PolicyTypes.Info policy,
InvocationConfig invocationConfig)
Set the global password policy.
|
public PolicyStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PolicyStub(ApiProvider apiProvider, StubConfigurationBase config)
public PolicyTypes.Info get()
PolicySynchronous method overload. Result of the invocation will be reported as a method return value.
public PolicyTypes.Info get(InvocationConfig invocationConfig)
PolicySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void get(AsyncCallback<PolicyTypes.Info> asyncCallback)
PolicyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Global password policy
Operation Errors:
Error - Generic error
public void get(AsyncCallback<PolicyTypes.Info> asyncCallback, InvocationConfig invocationConfig)
PolicyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Global password policy
Operation Errors:
Error - Generic error
public void set(PolicyTypes.Info policy)
PolicySynchronous method overload. Result of the invocation will be reported as a method return value.
public void set(PolicyTypes.Info policy, InvocationConfig invocationConfig)
PolicySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void set(PolicyTypes.Info policy, AsyncCallback<java.lang.Void> asyncCallback)
PolicyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidArgument - if passed policy values are < -1 or > 99999
Error - Generic error
public void set(PolicyTypes.Info policy, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
PolicyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidArgument - if passed policy values are < -1 or > 99999
Error - Generic error