public class ServersStub extends com.vmware.vapi.internal.bindings.Stub implements Servers
Servers
API service.
WARNING: Internal class, subject to change in future versions.
ServersTypes.DNSServerConfig, ServersTypes.DNSServerMode, ServersTypes.Message, ServersTypes.MessageStatus, ServersTypes.TestStatus, ServersTypes.TestStatusInfo
Constructor and Description |
---|
ServersStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ServersStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String server)
Add a DNS server.
|
void |
add(java.lang.String server,
AsyncCallback<java.lang.Void> asyncCallback)
Add a DNS server.
|
void |
add(java.lang.String server,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Add a DNS server.
|
void |
add(java.lang.String server,
InvocationConfig invocationConfig)
Add a DNS server.
|
ServersTypes.DNSServerConfig |
get()
Get DNS server configuration.
|
void |
get(AsyncCallback<ServersTypes.DNSServerConfig> asyncCallback)
Get DNS server configuration.
|
void |
get(AsyncCallback<ServersTypes.DNSServerConfig> asyncCallback,
InvocationConfig invocationConfig)
Get DNS server configuration.
|
ServersTypes.DNSServerConfig |
get(InvocationConfig invocationConfig)
Get DNS server configuration.
|
void |
set(ServersTypes.DNSServerConfig config)
Set the DNS server configuration.
|
void |
set(ServersTypes.DNSServerConfig config,
AsyncCallback<java.lang.Void> asyncCallback)
Set the DNS server configuration.
|
void |
set(ServersTypes.DNSServerConfig config,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set the DNS server configuration.
|
void |
set(ServersTypes.DNSServerConfig config,
InvocationConfig invocationConfig)
Set the DNS server configuration.
|
ServersTypes.TestStatusInfo |
test(java.util.List<java.lang.String> servers)
Test if dns servers are reachable.
|
void |
test(java.util.List<java.lang.String> servers,
AsyncCallback<ServersTypes.TestStatusInfo> asyncCallback)
Test if dns servers are reachable.
|
void |
test(java.util.List<java.lang.String> servers,
AsyncCallback<ServersTypes.TestStatusInfo> asyncCallback,
InvocationConfig invocationConfig)
Test if dns servers are reachable.
|
ServersTypes.TestStatusInfo |
test(java.util.List<java.lang.String> servers,
InvocationConfig invocationConfig)
Test if dns servers are reachable.
|
public ServersStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ServersStub(ApiProvider apiProvider, StubConfigurationBase config)
public ServersTypes.TestStatusInfo test(java.util.List<java.lang.String> servers)
Servers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ServersTypes.TestStatusInfo test(java.util.List<java.lang.String> servers, InvocationConfig invocationConfig)
Servers
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 test(java.util.List<java.lang.String> servers, AsyncCallback<ServersTypes.TestStatusInfo> asyncCallback)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
DNS reacable status
Operation Errors:
Error
- Generic error
public void test(java.util.List<java.lang.String> servers, AsyncCallback<ServersTypes.TestStatusInfo> asyncCallback, InvocationConfig invocationConfig)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
DNS reacable status
Operation Errors:
Error
- Generic error
public void add(java.lang.String server)
Servers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void add(java.lang.String server, InvocationConfig invocationConfig)
Servers
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 add(java.lang.String server, AsyncCallback<java.lang.Void> asyncCallback)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void add(java.lang.String server, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Servers
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
public void set(ServersTypes.DNSServerConfig config)
Servers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(ServersTypes.DNSServerConfig config, InvocationConfig invocationConfig)
Servers
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(ServersTypes.DNSServerConfig config, AsyncCallback<java.lang.Void> asyncCallback)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void set(ServersTypes.DNSServerConfig config, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Servers
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
public ServersTypes.DNSServerConfig get()
Servers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ServersTypes.DNSServerConfig get(InvocationConfig invocationConfig)
Servers
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<ServersTypes.DNSServerConfig> asyncCallback)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
DNS server configuration.
Operation Errors:
Error
- Generic error
public void get(AsyncCallback<ServersTypes.DNSServerConfig> asyncCallback, InvocationConfig invocationConfig)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
DNS server configuration.
Operation Errors:
Error
- Generic error