Class LocaleServicesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.tier_1s.LocaleServicesStub
-
- All Implemented Interfaces:
LocaleServices,LocaleServicesTypes,com.vmware.vapi.bindings.Service
public class LocaleServicesStub extends com.vmware.vapi.internal.bindings.Stub implements LocaleServices
Remote stub implementation of theLocaleServicesAPI 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_1s.LocaleServicesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description LocaleServicesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)LocaleServicesStub(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 tier1Id, java.lang.String localeServicesId)Delete Tier-1 locale-servicesvoiddelete(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Delete Tier-1 locale-servicesvoiddelete(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete Tier-1 locale-servicesvoiddelete(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete Tier-1 locale-servicesLocaleServicesget(java.lang.String tier1Id, java.lang.String localeServicesId)Read Tier-1 locale-servicesvoidget(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.AsyncCallback<LocaleServices> asyncCallback)Read Tier-1 locale-servicesvoidget(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.AsyncCallback<LocaleServices> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read Tier-1 locale-servicesLocaleServicesget(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read Tier-1 locale-servicesLocaleServicesListResultlist(java.lang.String tier1Id, 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 Tier-1 locale-servicesvoidlist(java.lang.String tier1Id, 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<LocaleServicesListResult> asyncCallback)Paginated list of all Tier-1 locale-servicesvoidlist(java.lang.String tier1Id, 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<LocaleServicesListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Paginated list of all Tier-1 locale-servicesLocaleServicesListResultlist(java.lang.String tier1Id, 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 Tier-1 locale-servicesvoidpatch(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices)If a Tier-1 locale services with the locale-services-id is not already present, create a new locale services.voidpatch(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)If a Tier-1 locale services with the locale-services-id is not already present, create a new locale services.voidpatch(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If a Tier-1 locale services with the locale-services-id is not already present, create a new locale services.voidpatch(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If a Tier-1 locale services with the locale-services-id is not already present, create a new locale services.LocaleServicesupdate(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices)If a Tier-1 locale services with the locale-services-id is not already present, create a new locale-services.voidupdate(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.AsyncCallback<LocaleServices> asyncCallback)If a Tier-1 locale services with the locale-services-id is not already present, create a new locale-services.voidupdate(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.AsyncCallback<LocaleServices> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If a Tier-1 locale services with the locale-services-id is not already present, create a new locale-services.LocaleServicesupdate(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If a Tier-1 locale services with the locale-services-id is not already present, create a new locale-services.
-
-
-
Constructor Detail
-
LocaleServicesStub
public LocaleServicesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
LocaleServicesStub
public LocaleServicesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String tier1Id, java.lang.String localeServicesId)Description copied from interface:LocaleServicesDelete Tier-1 locale-servicesSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
deletein interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)
-
delete
public void delete(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:LocaleServicesDelete Tier-1 locale-servicesSynchronous 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 interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)invocationConfig- Configuration for the method invocation.
-
delete
public void delete(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:LocaleServicesDelete Tier-1 locale-servicesAsynchronous 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 interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:LocaleServicesDelete Tier-1 locale-servicesAsynchronous 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 interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
get
public LocaleServices get(java.lang.String tier1Id, java.lang.String localeServicesId)
Description copied from interface:LocaleServicesRead Tier-1 locale-servicesSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
getin interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)- Returns:
- com.vmware.nsx_policy.model.LocaleServices
-
get
public LocaleServices get(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:LocaleServicesRead Tier-1 locale-servicesSynchronous 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 interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.LocaleServices
-
get
public void get(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.AsyncCallback<LocaleServices> asyncCallback)Description copied from interface:LocaleServicesRead Tier-1 locale-servicesAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.LocaleServicesOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String tier1Id, java.lang.String localeServicesId, com.vmware.vapi.bindings.client.AsyncCallback<LocaleServices> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:LocaleServicesRead Tier-1 locale-servicesAsynchronous 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.LocaleServicesOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
list
public LocaleServicesListResult list(java.lang.String tier1Id, 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:LocaleServicesPaginated list of all Tier-1 locale-servicesSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
listin interfaceLocaleServices- Parameters:
tier1Id- (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.LocaleServicesListResult
-
list
public LocaleServicesListResult list(java.lang.String tier1Id, 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:LocaleServicesPaginated list of all Tier-1 locale-servicesSynchronous 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 interfaceLocaleServices- Parameters:
tier1Id- (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.LocaleServicesListResult
-
list
public void list(java.lang.String tier1Id, 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<LocaleServicesListResult> asyncCallback)Description copied from interface:LocaleServicesPaginated list of all Tier-1 locale-servicesAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.LocaleServicesListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceLocaleServices- Parameters:
tier1Id- (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 tier1Id, 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<LocaleServicesListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:LocaleServicesPaginated list of all Tier-1 locale-servicesAsynchronous 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.LocaleServicesListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceLocaleServices- Parameters:
tier1Id- (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 tier1Id, java.lang.String localeServicesId, LocaleServices localeServices)Description copied from interface:LocaleServicesIf a Tier-1 locale services with the locale-services-id is not already present, create a new locale services. If it already exists, update Tier-1 locale services with specified attributes.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patchin interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)localeServices- (required)
-
patch
public void patch(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:LocaleServicesIf a Tier-1 locale services with the locale-services-id is not already present, create a new locale services. If it already exists, update Tier-1 locale services with 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 interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)localeServices- (required)invocationConfig- Configuration for the method invocation.
-
patch
public void patch(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:LocaleServicesIf a Tier-1 locale services with the locale-services-id is not already present, create a new locale services. If it already exists, update Tier-1 locale services with 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 interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)localeServices- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:LocaleServicesIf a Tier-1 locale services with the locale-services-id is not already present, create a new locale services. If it already exists, update Tier-1 locale services with 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 interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)localeServices- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
update
public LocaleServices update(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices)
Description copied from interface:LocaleServicesIf a Tier-1 locale services with the locale-services-id is not already present, create a new locale-services. If it already exists, replace the Tier-1 locale services instance with the new object. Modifying edge cluster re-allocates NSX service routers of TIER1 to a different edge cluster. You can also place edge nodes manually and provide maximum two indices for HA mode ACTIVE_STANDBY. To re-allocating edge cluster is a disruptive operation and all existing statistics of Tier1 gateway will be removed.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
updatein interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)localeServices- (required)- Returns:
- com.vmware.nsx_policy.model.LocaleServices
-
update
public LocaleServices update(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:LocaleServicesIf a Tier-1 locale services with the locale-services-id is not already present, create a new locale-services. If it already exists, replace the Tier-1 locale services instance with the new object. Modifying edge cluster re-allocates NSX service routers of TIER1 to a different edge cluster. You can also place edge nodes manually and provide maximum two indices for HA mode ACTIVE_STANDBY. To re-allocating edge cluster is a disruptive operation and all existing statistics of Tier1 gateway will be removed.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 interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)localeServices- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.LocaleServices
-
update
public void update(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.AsyncCallback<LocaleServices> asyncCallback)Description copied from interface:LocaleServicesIf a Tier-1 locale services with the locale-services-id is not already present, create a new locale-services. If it already exists, replace the Tier-1 locale services instance with the new object. Modifying edge cluster re-allocates NSX service routers of TIER1 to a different edge cluster. You can also place edge nodes manually and provide maximum two indices for HA mode ACTIVE_STANDBY. To re-allocating edge cluster is a disruptive operation and all existing statistics of Tier1 gateway will be removed.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.LocaleServicesOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)localeServices- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String tier1Id, java.lang.String localeServicesId, LocaleServices localeServices, com.vmware.vapi.bindings.client.AsyncCallback<LocaleServices> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:LocaleServicesIf a Tier-1 locale services with the locale-services-id is not already present, create a new locale-services. If it already exists, replace the Tier-1 locale services instance with the new object. Modifying edge cluster re-allocates NSX service routers of TIER1 to a different edge cluster. You can also place edge nodes manually and provide maximum two indices for HA mode ACTIVE_STANDBY. To re-allocating edge cluster is a disruptive operation and all existing statistics of Tier1 gateway will be removed.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.LocaleServicesOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceLocaleServices- Parameters:
tier1Id- (required)localeServicesId- (required)localeServices- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-