Class QosProfilesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.global_infra.QosProfilesStub
-
- All Implemented Interfaces:
QosProfiles,QosProfilesTypes,com.vmware.vapi.bindings.Service
public class QosProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements QosProfiles
Remote stub implementation of theQosProfilesAPI 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.global_infra.QosProfilesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description QosProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)QosProfilesStub(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)API will delete QoS profile.voiddelete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)API will delete QoS profile.voiddelete(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)API will delete QoS profile.voiddelete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)API will delete QoS profile.QosProfileget(java.lang.String qosProfileId)API will return details of QoS profile.voidget(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback)API will return details of QoS profile.voidget(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)API will return details of QoS profile.QosProfileget(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)API will return details of QoS profile.QosProfileListResultlist(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)API will list all QoS profiles.voidlist(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<QosProfileListResult> asyncCallback)API will list all QoS profiles.voidlist(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<QosProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)API will list all QoS profiles.QosProfileListResultlist(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)API will list all QoS profiles.voidpatch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override)Create a new QoS profile if the QoS profile with given id does not already exist.voidpatch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Create a new QoS profile if the QoS profile with given id does not already exist.voidpatch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Create a new QoS profile if the QoS profile with given id does not already exist.voidpatch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Create a new QoS profile if the QoS profile with given id does not already exist.QosProfileupdate(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override)Create or Replace QoS profile.voidupdate(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback)Create or Replace QoS profile.voidupdate(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Create or Replace QoS profile.QosProfileupdate(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Create or Replace QoS profile.
-
-
-
Constructor Detail
-
QosProfilesStub
public QosProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
QosProfilesStub
public QosProfilesStub(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:QosProfilesAPI will delete QoS profile.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
deletein interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (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:QosProfilesAPI will delete QoS profile.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:
deletein interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (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:QosProfilesAPI will delete QoS profile.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:
deletein interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (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:QosProfilesAPI will delete QoS profile.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:
deletein interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (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 QosProfile get(java.lang.String qosProfileId)
Description copied from interface:QosProfilesAPI will return details of QoS profile.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
getin interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)- Returns:
- com.vmware.nsx_policy.model.QoSProfile
-
get
public QosProfile get(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:QosProfilesAPI will return details of QoS profile.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:
getin interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.QoSProfile
-
get
public void get(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback)Description copied from interface:QosProfilesAPI will return details of QoS profile.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.QoSProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (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<QosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:QosProfilesAPI will return details of QoS profile.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.QoSProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
list
public QosProfileListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Description copied from interface:QosProfilesAPI will list all QoS profiles.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
listin interfaceQosProfiles- Parameters:
cursor- 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)- Returns:
- com.vmware.nsx_policy.model.QoSProfileListResult
-
list
public QosProfileListResult 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)
Description copied from interface:QosProfilesAPI will list all QoS profiles.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:
listin interfaceQosProfiles- Parameters:
cursor- 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.- Returns:
- com.vmware.nsx_policy.model.QoSProfileListResult
-
list
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<QosProfileListResult> asyncCallback)Description copied from interface:QosProfilesAPI will list all QoS profiles.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.QoSProfileListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceQosProfiles- Parameters:
cursor- 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.
-
list
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<QosProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:QosProfilesAPI will list all QoS profiles.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.QoSProfileListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceQosProfiles- Parameters:
cursor- 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.
-
patch
public void patch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override)Description copied from interface:QosProfilesCreate a new QoS profile if the QoS profile with given id does not already exist. If the QoS profile with the given id already exists, patch with the existing QoS profile.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patchin interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)qosProfile- (required)override- Locally override the global object (optional, default to false)
-
patch
public void patch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:QosProfilesCreate a new QoS profile if the QoS profile with given id does not already exist. If the QoS profile with the given id already exists, patch with the existing QoS profile.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 interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)qosProfile- (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, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:QosProfilesCreate a new QoS profile if the QoS profile with given id does not already exist. If the QoS profile with the given id already exists, patch with the existing QoS profile.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 interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)qosProfile- (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, QosProfile qosProfile, 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:QosProfilesCreate a new QoS profile if the QoS profile with given id does not already exist. If the QoS profile with the given id already exists, patch with the existing QoS profile.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 interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)qosProfile- (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 QosProfile update(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override)
Description copied from interface:QosProfilesCreate or Replace QoS profile.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
updatein interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)qosProfile- (required)override- Locally override the global object (optional, default to false)- Returns:
- com.vmware.nsx_policy.model.QoSProfile
-
update
public QosProfile update(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:QosProfilesCreate or Replace QoS profile.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 interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)qosProfile- (required)override- Locally override the global object (optional, default to false)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.QoSProfile
-
update
public void update(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback)Description copied from interface:QosProfilesCreate or Replace QoS profile.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.QoSProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)qosProfile- (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, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:QosProfilesCreate or Replace QoS profile.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.QoSProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceQosProfiles- Parameters:
qosProfileId- QoS profile Id (required)qosProfile- (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.
-
-