Class WidgetconfigurationsStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.ui_views.WidgetconfigurationsStub
-
- All Implemented Interfaces:
Widgetconfigurations
,WidgetconfigurationsTypes
,com.vmware.vapi.bindings.Service
public class WidgetconfigurationsStub extends com.vmware.vapi.internal.bindings.Stub implements Widgetconfigurations
Remote stub implementation of theWidgetconfigurations
API 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.ui_views.WidgetconfigurationsTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description WidgetconfigurationsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
WidgetconfigurationsStub(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 com.vmware.vapi.bindings.Structure
create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration)
Creates a new Widget Configuration and adds it to the specified view.void
create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Creates a new Widget Configuration and adds it to the specified view.void
create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new Widget Configuration and adds it to the specified view.com.vmware.vapi.bindings.Structure
create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new Widget Configuration and adds it to the specified view.void
delete(java.lang.String viewId, java.lang.String widgetconfigurationId)
Detaches widget from a given view.void
delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Detaches widget from a given view.void
delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Detaches widget from a given view.void
delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Detaches widget from a given view.WidgetConfigurationList
get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds)
If no query params are specified then all the Widget Configurations of the specified view are returned.void
get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.AsyncCallback<WidgetConfigurationList> asyncCallback)
If no query params are specified then all the Widget Configurations of the specified view are returned.void
get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.AsyncCallback<WidgetConfigurationList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If no query params are specified then all the Widget Configurations of the specified view are returned.WidgetConfigurationList
get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If no query params are specified then all the Widget Configurations of the specified view are returned.com.vmware.vapi.bindings.Structure
get0(java.lang.String viewId, java.lang.String widgetconfigurationId)
Returns Information about a specific Widget Configuration.void
get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Returns Information about a specific Widget Configuration.void
get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns Information about a specific Widget Configuration.com.vmware.vapi.bindings.Structure
get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns Information about a specific Widget Configuration.com.vmware.vapi.bindings.Structure
update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration)
Updates the widget at the given view.void
update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Updates the widget at the given view.void
update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the widget at the given view.com.vmware.vapi.bindings.Structure
update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the widget at the given view.
-
-
-
Constructor Detail
-
WidgetconfigurationsStub
public WidgetconfigurationsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
WidgetconfigurationsStub
public WidgetconfigurationsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public com.vmware.vapi.bindings.Structure create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration)
Description copied from interface:Widgetconfigurations
Creates a new Widget Configuration and adds it to the specified view. Supported resource_types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration. Note: Expressions should be given in a single line. If an expression spans multiple lines, then form the expression in a single line. For label-value pairs, expressions are evaluated as follows: a. First, render configurations are evaluated in their order of appearance in the widget config. The 'field' is evaluated at the end. b. Second, when render configuration is provided then the order of evaluation is 1. If expressions provided in 'condition' and 'display value' are well-formed and free of runtime-errors such as 'null pointers' and evaluates to 'true'; Then remaining render configurations are not evaluated, and the current render configuration's 'display value' is taken as the final value. 2. If expression provided in 'condition' of render configuration is false, then next render configuration is evaluated. 3. Finally, 'field' is evaluated only when every render configuration evaluates to false and no error occurs during steps 1 and 2 above. If an error occurs during evaluation of render configuration, then an error message is shown. The display value corresponding to that label is not shown and evaluation of the remaining render configurations continues to collect and show all the error messages (marked with the 'Label' for identification) as 'Error_Messages: {}'. If during evaluation of expressions for any label-value pair an error occurs, then it is marked with error. The errors are shown in the report, along with the label value pairs that are error-free. Important: For elements that take expressions, strings should be provided by escaping them with a back-slash. These elements are - condition, field, tooltip text and render_configuration's display_value.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
create
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
.
-
create
public com.vmware.vapi.bindings.Structure create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
Creates a new Widget Configuration and adds it to the specified view. Supported resource_types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration. Note: Expressions should be given in a single line. If an expression spans multiple lines, then form the expression in a single line. For label-value pairs, expressions are evaluated as follows: a. First, render configurations are evaluated in their order of appearance in the widget config. The 'field' is evaluated at the end. b. Second, when render configuration is provided then the order of evaluation is 1. If expressions provided in 'condition' and 'display value' are well-formed and free of runtime-errors such as 'null pointers' and evaluates to 'true'; Then remaining render configurations are not evaluated, and the current render configuration's 'display value' is taken as the final value. 2. If expression provided in 'condition' of render configuration is false, then next render configuration is evaluated. 3. Finally, 'field' is evaluated only when every render configuration evaluates to false and no error occurs during steps 1 and 2 above. If an error occurs during evaluation of render configuration, then an error message is shown. The display value corresponding to that label is not shown and evaluation of the remaining render configurations continues to collect and show all the error messages (marked with the 'Label' for identification) as 'Error_Messages: {}'. If during evaluation of expressions for any label-value pair an error occurs, then it is marked with error. The errors are shown in the report, along with the label value pairs that are error-free. Important: For elements that take expressions, strings should be provided by escaping them with a back-slash. These elements are - condition, field, tooltip text and render_configuration's display_value.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
create
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
.
-
create
public void create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Description copied from interface:Widgetconfigurations
Creates a new Widget Configuration and adds it to the specified view. Supported resource_types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration. Note: Expressions should be given in a single line. If an expression spans multiple lines, then form the expression in a single line. For label-value pairs, expressions are evaluated as follows: a. First, render configurations are evaluated in their order of appearance in the widget config. The 'field' is evaluated at the end. b. Second, when render configuration is provided then the order of evaluation is 1. If expressions provided in 'condition' and 'display value' are well-formed and free of runtime-errors such as 'null pointers' and evaluates to 'true'; Then remaining render configurations are not evaluated, and the current render configuration's 'display value' is taken as the final value. 2. If expression provided in 'condition' of render configuration is false, then next render configuration is evaluated. 3. Finally, 'field' is evaluated only when every render configuration evaluates to false and no error occurs during steps 1 and 2 above. If an error occurs during evaluation of render configuration, then an error message is shown. The display value corresponding to that label is not shown and evaluation of the remaining render configurations continues to collect and show all the error messages (marked with the 'Label' for identification) as 'Error_Messages: {}'. If during evaluation of expressions for any label-value pair an error occurs, then it is marked with error. The errors are shown in the report, along with the label value pairs that are error-free. Important: For elements that take expressions, strings should be provided by escaping them with a back-slash. These elements are - condition, field, tooltip text and render_configuration's display_value.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
create
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
public void create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
Creates a new Widget Configuration and adds it to the specified view. Supported resource_types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration. Note: Expressions should be given in a single line. If an expression spans multiple lines, then form the expression in a single line. For label-value pairs, expressions are evaluated as follows: a. First, render configurations are evaluated in their order of appearance in the widget config. The 'field' is evaluated at the end. b. Second, when render configuration is provided then the order of evaluation is 1. If expressions provided in 'condition' and 'display value' are well-formed and free of runtime-errors such as 'null pointers' and evaluates to 'true'; Then remaining render configurations are not evaluated, and the current render configuration's 'display value' is taken as the final value. 2. If expression provided in 'condition' of render configuration is false, then next render configuration is evaluated. 3. Finally, 'field' is evaluated only when every render configuration evaluates to false and no error occurs during steps 1 and 2 above. If an error occurs during evaluation of render configuration, then an error message is shown. The display value corresponding to that label is not shown and evaluation of the remaining render configurations continues to collect and show all the error messages (marked with the 'Label' for identification) as 'Error_Messages: {}'. If during evaluation of expressions for any label-value pair an error occurs, then it is marked with error. The errors are shown in the report, along with the label value pairs that are error-free. Important: For elements that take expressions, strings should be provided by escaping them with a back-slash. These elements are - condition, field, tooltip text and render_configuration's display_value.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
create
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String viewId, java.lang.String widgetconfigurationId)
Description copied from interface:Widgetconfigurations
Detaches widget from a given view. If the widget is no longer part of any view, then it will be purged.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
delete
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)
-
delete
public void delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
Detaches widget from a given view. If the widget is no longer part of any view, then it will be purged.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
delete
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:Widgetconfigurations
Detaches widget from a given view. If the widget is no longer part of any view, then it will be purged.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:
delete
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
Detaches widget from a given view. If the widget is no longer part of any view, then it will be purged.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
delete
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
public WidgetConfigurationList get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds)
Description copied from interface:Widgetconfigurations
If no query params are specified then all the Widget Configurations of the specified view are returned.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)container
- Id of the container (optional)widgetIds
- Ids of the WidgetConfigurations (optional)- Returns:
- com.vmware.nsx_policy.model.WidgetConfigurationList
-
get
public WidgetConfigurationList get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
If no query params are specified then all the Widget Configurations of the specified view are returned.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
get
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)container
- Id of the container (optional)widgetIds
- Ids of the WidgetConfigurations (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.WidgetConfigurationList
-
get
public void get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.AsyncCallback<WidgetConfigurationList> asyncCallback)
Description copied from interface:Widgetconfigurations
If no query params are specified then all the Widget Configurations of the specified view are returned.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfigurationListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)container
- Id of the container (optional)widgetIds
- Ids of the WidgetConfigurations (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.AsyncCallback<WidgetConfigurationList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
If no query params are specified then all the Widget Configurations of the specified view are returned.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfigurationListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)container
- Id of the container (optional)widgetIds
- Ids of the WidgetConfigurations (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get0
public com.vmware.vapi.bindings.Structure get0(java.lang.String viewId, java.lang.String widgetconfigurationId)
Description copied from interface:Widgetconfigurations
Returns Information about a specific Widget Configuration.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get0
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
.
-
get0
public com.vmware.vapi.bindings.Structure get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
Returns Information about a specific Widget Configuration.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
get0
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
.
-
get0
public void get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Description copied from interface:Widgetconfigurations
Returns Information about a specific Widget Configuration.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get0
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get0
public void get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
Returns Information about a specific Widget Configuration.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get0
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public com.vmware.vapi.bindings.Structure update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration)
Description copied from interface:Widgetconfigurations
Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
.
-
update
public com.vmware.vapi.bindings.Structure update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
update
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
.
-
update
public void update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Description copied from interface:Widgetconfigurations
Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Widgetconfigurations
Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceWidgetconfigurations
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-