public class ConsolecliStub extends com.vmware.vapi.internal.bindings.Stub implements Consolecli
Consolecli
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConsolecliStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ConsolecliStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
boolean |
get()
Get enabled state of the console-based controlled CLI (TTY1).
|
void |
get(AsyncCallback<java.lang.Boolean> asyncCallback)
Get enabled state of the console-based controlled CLI (TTY1).
|
void |
get(AsyncCallback<java.lang.Boolean> asyncCallback,
InvocationConfig invocationConfig)
Get enabled state of the console-based controlled CLI (TTY1).
|
boolean |
get(InvocationConfig invocationConfig)
Get enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled)
Set enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled,
AsyncCallback<java.lang.Void> asyncCallback)
Set enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled,
InvocationConfig invocationConfig)
Set enabled state of the console-based controlled CLI (TTY1).
|
public ConsolecliStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConsolecliStub(ApiProvider apiProvider, StubConfigurationBase config)
public void set(boolean enabled)
Consolecli
Synchronous method overload. Result of the invocation will be reported as a method return value.
set
in interface Consolecli
enabled
- Console-based controlled CLI is enabled.public void set(boolean enabled, InvocationConfig invocationConfig)
Consolecli
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
set
in interface Consolecli
enabled
- Console-based controlled CLI is enabled.invocationConfig
- Configuration for the method invocation.public void set(boolean enabled, AsyncCallback<java.lang.Void> asyncCallback)
Consolecli
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
set
in interface Consolecli
enabled
- Console-based controlled CLI is enabled.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void set(boolean enabled, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Consolecli
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:
Error
- Generic error
set
in interface Consolecli
enabled
- Console-based controlled CLI is enabled.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public boolean get()
Consolecli
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Consolecli
public boolean get(InvocationConfig invocationConfig)
Consolecli
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 Consolecli
invocationConfig
- Configuration for the method invocation.public void get(AsyncCallback<java.lang.Boolean> asyncCallback)
Consolecli
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Console-based controlled CLI is enabled.
Operation Errors:
Error
- Generic error
get
in interface Consolecli
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<java.lang.Boolean> asyncCallback, InvocationConfig invocationConfig)
Consolecli
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:
Console-based controlled CLI is enabled.
Operation Errors:
Error
- Generic error
get
in interface Consolecli
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.