public class DomainsStub extends com.vmware.vapi.internal.bindings.Stub implements Domains
Domains
API service.
WARNING: Internal class, subject to change in future versions.
Constructor and Description |
---|
DomainsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
DomainsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String domain)
Add domain to DNS search domains.
|
void |
add(java.lang.String domain,
AsyncCallback<java.lang.Void> asyncCallback)
Add domain to DNS search domains.
|
void |
add(java.lang.String domain,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Add domain to DNS search domains.
|
void |
add(java.lang.String domain,
InvocationConfig invocationConfig)
Add domain to DNS search domains.
|
java.util.List<java.lang.String> |
list()
Get list of DNS search domains.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Get list of DNS search domains.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Get list of DNS search domains.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Get list of DNS search domains.
|
void |
set(java.util.List<java.lang.String> domains)
Set DNS search domains.
|
void |
set(java.util.List<java.lang.String> domains,
AsyncCallback<java.lang.Void> asyncCallback)
Set DNS search domains.
|
void |
set(java.util.List<java.lang.String> domains,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set DNS search domains.
|
void |
set(java.util.List<java.lang.String> domains,
InvocationConfig invocationConfig)
Set DNS search domains.
|
public DomainsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public DomainsStub(ApiProvider apiProvider, StubConfigurationBase config)
public void add(java.lang.String domain)
Domains
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void add(java.lang.String domain, InvocationConfig invocationConfig)
Domains
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 domain, AsyncCallback<java.lang.Void> asyncCallback)
Domains
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 domain, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Domains
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(java.util.List<java.lang.String> domains)
Domains
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(java.util.List<java.lang.String> domains, InvocationConfig invocationConfig)
Domains
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(java.util.List<java.lang.String> domains, AsyncCallback<java.lang.Void> asyncCallback)
Domains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void set(java.util.List<java.lang.String> domains, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Domains
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 java.util.List<java.lang.String> list()
Domains
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Domains
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 list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Domains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
List of domains.
Operation Errors:
Error
- Generic error
public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Domains
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:
List of domains.
Operation Errors:
Error
- Generic error