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
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
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()
Policy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public PolicyTypes.Info get(InvocationConfig invocationConfig)
Policy
Synchronous 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)
Policy
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Global password policy
Operation Errors:
Error
- Generic error
public void get(AsyncCallback<PolicyTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Policy
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:
Global password policy
Operation Errors:
Error
- Generic error
public void set(PolicyTypes.Info policy)
Policy
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(PolicyTypes.Info policy, InvocationConfig invocationConfig)
Policy
Synchronous 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)
Policy
Asynchronous 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)
Policy
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:
InvalidArgument
- if passed policy values are < -1 or > 99999
Error
- Generic error