Class GatewayQosProfilesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.GatewayQosProfilesStub
-
- All Implemented Interfaces:
GatewayQosProfiles,GatewayQosProfilesTypes,com.vmware.vapi.bindings.Service
public class GatewayQosProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements GatewayQosProfiles
Remote stub implementation of theGatewayQosProfilesAPI 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.GatewayQosProfilesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description GatewayQosProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)GatewayQosProfilesStub(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 qosProfileId, java.lang.Boolean override)Delete QoS profilevoiddelete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Delete QoS profilevoiddelete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete QoS profilevoiddelete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete QoS profileGatewayQosProfileget(java.lang.String qosProfileId)Read gateway QoS profilevoidget(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.AsyncCallback<GatewayQosProfile> asyncCallback)Read gateway QoS profilevoidget(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.AsyncCallback<GatewayQosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read gateway QoS profileGatewayQosProfileget(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read gateway QoS profileGatewayQosProfileListResultlist(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 gateway QoS profle instancesvoidlist(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<GatewayQosProfileListResult> asyncCallback)Paginated list of all gateway QoS profle instancesvoidlist(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<GatewayQosProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Paginated list of all gateway QoS profle instancesGatewayQosProfileListResultlist(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 gateway QoS profle instancesvoidpatch(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override)If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance.voidpatch(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance.voidpatch(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance.voidpatch(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance.GatewayQosProfileupdate(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override)If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance.voidupdate(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<GatewayQosProfile> asyncCallback)If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance.voidupdate(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<GatewayQosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance.GatewayQosProfileupdate(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If profile with the qos-profile-id is not already present, create a new gateway QoS profile instance.
-
-
-
Constructor Detail
-
GatewayQosProfilesStub
public GatewayQosProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
GatewayQosProfilesStub
public GatewayQosProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String qosProfileId, java.lang.Boolean override)Description copied from interface:GatewayQosProfilesDelete QoS profileSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
deletein interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)override- Locally override the global object (optional, default to false)
-
delete
public void delete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:GatewayQosProfilesDelete QoS profileSynchronous 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 interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)override- Locally override the global object (optional, default to false)invocationConfig- Configuration for the method invocation.
-
delete
public void delete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:GatewayQosProfilesDelete QoS profileAsynchronous 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 interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)override- Locally override the global object (optional, default to false)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:GatewayQosProfilesDelete QoS profileAsynchronous 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 interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)override- Locally override the global object (optional, default to false)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
get
public GatewayQosProfile get(java.lang.String qosProfileId)
Description copied from interface:GatewayQosProfilesRead gateway QoS profileSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
getin interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)- Returns:
- com.vmware.nsx_policy.model.GatewayQosProfile
-
get
public GatewayQosProfile get(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:GatewayQosProfilesRead gateway QoS profileSynchronous 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 interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.GatewayQosProfile
-
get
public void get(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.AsyncCallback<GatewayQosProfile> asyncCallback)Description copied from interface:GatewayQosProfilesRead gateway QoS profileAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.GatewayQosProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.AsyncCallback<GatewayQosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:GatewayQosProfilesRead gateway QoS profileAsynchronous 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.GatewayQosProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
list
public GatewayQosProfileListResult list(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:GatewayQosProfilesPaginated list of all gateway QoS profle instancesSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
listin interfaceGatewayQosProfiles- Parameters:
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.GatewayQosProfileListResult
-
list
public GatewayQosProfileListResult list(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:GatewayQosProfilesPaginated list of all gateway QoS profle instancesSynchronous 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 interfaceGatewayQosProfiles- Parameters:
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.GatewayQosProfileListResult
-
list
public void list(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<GatewayQosProfileListResult> asyncCallback)Description copied from interface:GatewayQosProfilesPaginated list of all gateway QoS profle instancesAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.GatewayQosProfileListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceGatewayQosProfiles- Parameters:
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 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<GatewayQosProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:GatewayQosProfilesPaginated list of all gateway QoS profle instancesAsynchronous 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.GatewayQosProfileListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceGatewayQosProfiles- Parameters:
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 qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override)Description copied from interface:GatewayQosProfilesIf profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, update the gateway QoS profile instance with specified attributes.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patchin interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)gatewayQosProfile- (required)override- Locally override the global object (optional, default to false)
-
patch
public void patch(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:GatewayQosProfilesIf profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, update the gateway QoS profile instance 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 interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)gatewayQosProfile- (required)override- Locally override the global object (optional, default to false)invocationConfig- Configuration for the method invocation.
-
patch
public void patch(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:GatewayQosProfilesIf profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, update the gateway QoS profile instance 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 interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)gatewayQosProfile- (required)override- Locally override the global object (optional, default to false)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:GatewayQosProfilesIf profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, update the gateway QoS profile instance 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 interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)gatewayQosProfile- (required)override- Locally override the global object (optional, default to false)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
update
public GatewayQosProfile update(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override)
Description copied from interface:GatewayQosProfilesIf profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, replace the gateway QoS profile instance with this object.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
updatein interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)gatewayQosProfile- (required)override- Locally override the global object (optional, default to false)- Returns:
- com.vmware.nsx_policy.model.GatewayQosProfile
-
update
public GatewayQosProfile update(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:GatewayQosProfilesIf profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, replace the gateway QoS profile instance with this object.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 interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)gatewayQosProfile- (required)override- Locally override the global object (optional, default to false)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.GatewayQosProfile
-
update
public void update(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<GatewayQosProfile> asyncCallback)Description copied from interface:GatewayQosProfilesIf profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, replace the gateway QoS profile instance with this object.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.GatewayQosProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)gatewayQosProfile- (required)override- Locally override the global object (optional, default to false)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String qosProfileId, GatewayQosProfile gatewayQosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<GatewayQosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:GatewayQosProfilesIf profile with the qos-profile-id is not already present, create a new gateway QoS profile instance. If it already exists, replace the gateway QoS profile instance with this object.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.GatewayQosProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceGatewayQosProfiles- Parameters:
qosProfileId- (required)gatewayQosProfile- (required)override- Locally override the global object (optional, default to false)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-