public class ForwardersStub extends com.vmware.vapi.internal.bindings.Stub implements Forwarders
Forwarders
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ForwardersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ForwardersStub(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 |
|---|---|
void |
clearcache(java.lang.String forwarderId)
Clear the current cache of the DNS forwarder.
|
void |
clearcache(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Clear the current cache of the DNS forwarder.
|
void |
clearcache(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Clear the current cache of the DNS forwarder.
|
void |
clearcache(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Clear the current cache of the DNS forwarder.
|
DnsForwarder |
create(DnsForwarder dnsForwarder)
Create a DNS forwader upon a logical router.
|
void |
create(DnsForwarder dnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback)
Create a DNS forwader upon a logical router.
|
void |
create(DnsForwarder dnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a DNS forwader upon a logical router.
|
DnsForwarder |
create(DnsForwarder dnsForwarder,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a DNS forwader upon a logical router.
|
void |
delete(java.lang.String forwarderId)
Delete a specific DNS forwarder.
|
void |
delete(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a specific DNS forwarder.
|
void |
delete(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a specific DNS forwarder.
|
void |
delete(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a specific DNS forwarder.
|
void |
disable(java.lang.String forwarderId)
Disable the DNS forwarder if the forwarder is currently enbled.
|
void |
disable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Disable the DNS forwarder if the forwarder is currently enbled.
|
void |
disable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Disable the DNS forwarder if the forwarder is currently enbled.
|
void |
disable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Disable the DNS forwarder if the forwarder is currently enbled.
|
void |
enable(java.lang.String forwarderId)
Enable the DNS forwarder if the forwarder is currently disabled.
|
void |
enable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Enable the DNS forwarder if the forwarder is currently disabled.
|
void |
enable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Enable the DNS forwarder if the forwarder is currently disabled.
|
void |
enable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Enable the DNS forwarder if the forwarder is currently disabled.
|
DnsForwarder |
get(java.lang.String forwarderId)
Retrieve a DNS forwarder.
|
void |
get(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback)
Retrieve a DNS forwarder.
|
void |
get(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve a DNS forwarder.
|
DnsForwarder |
get(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve a DNS forwarder.
|
DnsForwarderListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Get a paginated list of DNS forwarders.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarderListResult> asyncCallback)
Get a paginated list of DNS forwarders.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarderListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a paginated list of DNS forwarders.
|
DnsForwarderListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a paginated list of DNS forwarders.
|
DnsForwarder |
update(java.lang.String forwarderId,
DnsForwarder dnsForwarder)
Update a specific DNS forwarder.
|
void |
update(java.lang.String forwarderId,
DnsForwarder dnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback)
Update a specific DNS forwarder.
|
void |
update(java.lang.String forwarderId,
DnsForwarder dnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a specific DNS forwarder.
|
DnsForwarder |
update(java.lang.String forwarderId,
DnsForwarder dnsForwarder,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a specific DNS forwarder.
|
public ForwardersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ForwardersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void clearcache(java.lang.String forwarderId)
ForwardersSynchronous method overload. Result of the invocation will be reported as a method return value.
clearcache in interface ForwardersforwarderId - (required)public void clearcache(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
clearcache in interface ForwardersforwarderId - (required)invocationConfig - Configuration for the method invocation.public void clearcache(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
clearcache in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void clearcache(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
clearcache in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public DnsForwarder create(DnsForwarder dnsForwarder)
ForwardersSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface ForwardersdnsForwarder - (required)public DnsForwarder create(DnsForwarder dnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
create in interface ForwardersdnsForwarder - (required)invocationConfig - Configuration for the method invocation.public void create(DnsForwarder dnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.DnsForwarder
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface ForwardersdnsForwarder - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(DnsForwarder dnsForwarder, com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.DnsForwarder
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface ForwardersdnsForwarder - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String forwarderId)
ForwardersSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface ForwardersforwarderId - (required)public void delete(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface ForwardersforwarderId - (required)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
delete in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
delete in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void disable(java.lang.String forwarderId)
ForwardersSynchronous method overload. Result of the invocation will be reported as a method return value.
disable in interface ForwardersforwarderId - (required)public void disable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
disable in interface ForwardersforwarderId - (required)invocationConfig - Configuration for the method invocation.public void disable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
disable in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void disable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
disable in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void enable(java.lang.String forwarderId)
ForwardersSynchronous method overload. Result of the invocation will be reported as a method return value.
enable in interface ForwardersforwarderId - (required)public void enable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
enable in interface ForwardersforwarderId - (required)invocationConfig - Configuration for the method invocation.public void enable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enable in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void enable(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
enable in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public DnsForwarder get(java.lang.String forwarderId)
ForwardersSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface ForwardersforwarderId - (required)public DnsForwarder get(java.lang.String forwarderId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersSynchronous 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 ForwardersforwarderId - (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.DnsForwarder
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String forwarderId,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.DnsForwarder
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface ForwardersforwarderId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public DnsForwarderListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
ForwardersSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Forwarderscursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)public DnsForwarderListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface Forwarderscursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)invocationConfig - Configuration for the method invocation.public void list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarderListResult> asyncCallback)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.DnsForwarderListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface Forwarderscursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarderListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.DnsForwarderListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface Forwarderscursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public DnsForwarder update(java.lang.String forwarderId, DnsForwarder dnsForwarder)
ForwardersSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface ForwardersforwarderId - (required)dnsForwarder - (required)public DnsForwarder update(java.lang.String forwarderId, DnsForwarder dnsForwarder, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface ForwardersforwarderId - (required)dnsForwarder - (required)invocationConfig - Configuration for the method invocation.public void update(java.lang.String forwarderId,
DnsForwarder dnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.DnsForwarder
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface ForwardersforwarderId - (required)dnsForwarder - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String forwarderId,
DnsForwarder dnsForwarder,
com.vmware.vapi.bindings.client.AsyncCallback<DnsForwarder> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ForwardersAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.DnsForwarder
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface ForwardersforwarderId - (required)dnsForwarder - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.