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(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ConsolecliStub(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 |
---|---|
boolean |
get()
Get enabled state of the console-based controlled CLI (TTY1).
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Boolean> asyncCallback)
Get enabled state of the console-based controlled CLI (TTY1).
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Boolean> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get enabled state of the console-based controlled CLI (TTY1).
|
boolean |
get(com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Set enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set enabled state of the console-based controlled CLI (TTY1).
|
void |
set(boolean enabled,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set enabled state of the console-based controlled CLI (TTY1).
|
public ConsolecliStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ConsolecliStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.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, com.vmware.vapi.bindings.client.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, com.vmware.vapi.bindings.client.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, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.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(com.vmware.vapi.bindings.client.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(com.vmware.vapi.bindings.client.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(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Boolean> asyncCallback, com.vmware.vapi.bindings.client.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.