Class ServiceInterfacesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.tier_0s.locale_services.ServiceInterfacesStub
-
- All Implemented Interfaces:
ServiceInterfaces,ServiceInterfacesTypes,com.vmware.vapi.bindings.Service
public class ServiceInterfacesStub extends com.vmware.vapi.internal.bindings.Stub implements ServiceInterfaces
Remote stub implementation of theServiceInterfacesAPI service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.tier_0s.locale_services.ServiceInterfacesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description ServiceInterfacesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)ServiceInterfacesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId)Delete service interfacevoiddelete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Delete service interfacevoiddelete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete service interfacevoiddelete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete service interfaceServiceInterfaceget(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId)Read service interfacevoidget(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback)Read service interfacevoidget(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read service interfaceServiceInterfaceget(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read service interfaceServiceInterfaceListResultlist(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)Paginated list of all Service Interfacesvoidlist(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterfaceListResult> asyncCallback)Paginated list of all Service Interfacesvoidlist(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterfaceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Paginated list of all Service InterfacesServiceInterfaceListResultlist(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Paginated list of all Service Interfacesvoidpatch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface)If an interface with the interface-id is not already present, create a new interface.voidpatch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)If an interface with the interface-id is not already present, create a new interface.voidpatch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If an interface with the interface-id is not already present, create a new interface.voidpatch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If an interface with the interface-id is not already present, create a new interface.ServiceInterfaceupdate(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface)If an interface with the interface-id is not already present, create a new interface.voidupdate(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback)If an interface with the interface-id is not already present, create a new interface.voidupdate(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If an interface with the interface-id is not already present, create a new interface.ServiceInterfaceupdate(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If an interface with the interface-id is not already present, create a new interface.
-
-
-
Constructor Detail
-
ServiceInterfacesStub
public ServiceInterfacesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ServiceInterfacesStub
public ServiceInterfacesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId)Description copied from interface:ServiceInterfacesDelete service interfaceSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
deletein interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)
-
delete
public void delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ServiceInterfacesDelete service interfaceSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
deletein interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)invocationConfig- Configuration for the method invocation.
-
delete
public void delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:ServiceInterfacesDelete service interfaceAsynchronous 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
- Specified by:
deletein interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ServiceInterfacesDelete service interfaceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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
- Specified by:
deletein interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
get
public ServiceInterface get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId)
Description copied from interface:ServiceInterfacesRead service interfaceSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
getin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)- Returns:
- com.vmware.nsx_policy.model.ServiceInterface
-
get
public ServiceInterface get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ServiceInterfacesRead service interfaceSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
getin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ServiceInterface
-
get
public void get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback)Description copied from interface:ServiceInterfacesRead service interfaceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.ServiceInterfaceOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ServiceInterfacesRead service interfaceAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.ServiceInterfaceOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
list
public ServiceInterfaceListResult list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Description copied from interface:ServiceInterfacesPaginated list of all Service InterfacesSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
listin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)cursor- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects- Include objects that are marked for deletion in results (optional, default to false)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)- Returns:
- com.vmware.nsx_policy.model.ServiceInterfaceListResult
-
list
public ServiceInterfaceListResult list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ServiceInterfacesPaginated list of all Service InterfacesSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
listin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)cursor- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects- Include objects that are marked for deletion in results (optional, default to false)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.- Returns:
- com.vmware.nsx_policy.model.ServiceInterfaceListResult
-
list
public void list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterfaceListResult> asyncCallback)Description copied from interface:ServiceInterfacesPaginated list of all Service InterfacesAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.ServiceInterfaceListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)cursor- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects- Include objects that are marked for deletion in results (optional, default to false)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.
-
list
public void list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterfaceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ServiceInterfacesPaginated list of all Service InterfacesAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.ServiceInterfaceListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)cursor- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects- Include objects that are marked for deletion in results (optional, default to false)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.
-
patch
public void patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface)Description copied from interface:ServiceInterfacesIf an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patchin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)serviceInterface- (required)
-
patch
public void patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ServiceInterfacesIf an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
patchin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)serviceInterface- (required)invocationConfig- Configuration for the method invocation.
-
patch
public void patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:ServiceInterfacesIf an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.Asynchronous 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
- Specified by:
patchin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)serviceInterface- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ServiceInterfacesIf an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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
- Specified by:
patchin interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)serviceInterface- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
update
public ServiceInterface update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface)
Description copied from interface:ServiceInterfacesIf an interface with the interface-id is not already present, create a new interface. Modification of service interface is not allowed.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
updatein interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)serviceInterface- (required)- Returns:
- com.vmware.nsx_policy.model.ServiceInterface
-
update
public ServiceInterface update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ServiceInterfacesIf an interface with the interface-id is not already present, create a new interface. Modification of service interface is not allowed.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
updatein interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)serviceInterface- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ServiceInterface
-
update
public void update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback)Description copied from interface:ServiceInterfacesIf an interface with the interface-id is not already present, create a new interface. Modification of service interface is not allowed.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.ServiceInterfaceOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)serviceInterface- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:ServiceInterfacesIf an interface with the interface-id is not already present, create a new interface. Modification of service interface is not allowed.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.ServiceInterfaceOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceServiceInterfaces- Parameters:
tier0Id- (required)localeServiceId- (required)interfaceId- (required)serviceInterface- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-