Class RealizedEntityStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.realized_state.RealizedEntityStub
-
- All Implemented Interfaces:
RealizedEntity
,RealizedEntityTypes
,com.vmware.vapi.bindings.Service
public class RealizedEntityStub extends com.vmware.vapi.internal.bindings.Stub implements RealizedEntity
Remote stub implementation of theRealizedEntity
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.infra.realized_state.RealizedEntityTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description RealizedEntityStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
RealizedEntityStub(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 GenericPolicyRealizedResource
get(java.lang.String realizedPath)
Get realized entity uniquely identified by realized path, specified by query parametervoid
get(java.lang.String realizedPath, com.vmware.vapi.bindings.client.AsyncCallback<GenericPolicyRealizedResource> asyncCallback)
Get realized entity uniquely identified by realized path, specified by query parametervoid
get(java.lang.String realizedPath, com.vmware.vapi.bindings.client.AsyncCallback<GenericPolicyRealizedResource> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get realized entity uniquely identified by realized path, specified by query parameterGenericPolicyRealizedResource
get(java.lang.String realizedPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get realized entity uniquely identified by realized path, specified by query parametervoid
refresh(java.lang.String intentPath, java.lang.String enforcementPointPath)
Refresh the status and statistics of all realized entities associated with given intent path synchronously.void
refresh(java.lang.String intentPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Refresh the status and statistics of all realized entities associated with given intent path synchronously.void
refresh(java.lang.String intentPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Refresh the status and statistics of all realized entities associated with given intent path synchronously.void
refresh(java.lang.String intentPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Refresh the status and statistics of all realized entities associated with given intent path synchronously.
-
-
-
Constructor Detail
-
RealizedEntityStub
public RealizedEntityStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
RealizedEntityStub
public RealizedEntityStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public GenericPolicyRealizedResource get(java.lang.String realizedPath)
Description copied from interface:RealizedEntity
Get realized entity uniquely identified by realized path, specified by query parameterSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceRealizedEntity
- Parameters:
realizedPath
- String Path of the realized object (required)- Returns:
- com.vmware.nsx_policy.model.GenericPolicyRealizedResource
-
get
public GenericPolicyRealizedResource get(java.lang.String realizedPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:RealizedEntity
Get realized entity uniquely identified by realized path, specified by query parameterSynchronous 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 interfaceRealizedEntity
- Parameters:
realizedPath
- String Path of the realized object (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.GenericPolicyRealizedResource
-
get
public void get(java.lang.String realizedPath, com.vmware.vapi.bindings.client.AsyncCallback<GenericPolicyRealizedResource> asyncCallback)
Description copied from interface:RealizedEntity
Get realized entity uniquely identified by realized path, specified by query parameterAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.GenericPolicyRealizedResourceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceRealizedEntity
- Parameters:
realizedPath
- String Path of the realized object (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String realizedPath, com.vmware.vapi.bindings.client.AsyncCallback<GenericPolicyRealizedResource> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:RealizedEntity
Get realized entity uniquely identified by realized path, specified by query parameterAsynchronous 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.GenericPolicyRealizedResourceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceRealizedEntity
- Parameters:
realizedPath
- String Path of the realized object (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
refresh
public void refresh(java.lang.String intentPath, java.lang.String enforcementPointPath)
Description copied from interface:RealizedEntity
Refresh the status and statistics of all realized entities associated with given intent path synchronously. The vmw-async: True HTTP header cannot be used with this API.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
refresh
in interfaceRealizedEntity
- Parameters:
intentPath
- String Path of the intent object (required)enforcementPointPath
- String Path of the enforcement point (optional)
-
refresh
public void refresh(java.lang.String intentPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:RealizedEntity
Refresh the status and statistics of all realized entities associated with given intent path synchronously. The vmw-async: True HTTP header cannot be used with this API.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:
refresh
in interfaceRealizedEntity
- Parameters:
intentPath
- String Path of the intent object (required)enforcementPointPath
- String Path of the enforcement point (optional)invocationConfig
- Configuration for the method invocation.
-
refresh
public void refresh(java.lang.String intentPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:RealizedEntity
Refresh the status and statistics of all realized entities associated with given intent path synchronously. The vmw-async: True HTTP header cannot be used with this API.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:
refresh
in interfaceRealizedEntity
- Parameters:
intentPath
- String Path of the intent object (required)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
refresh
public void refresh(java.lang.String intentPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:RealizedEntity
Refresh the status and statistics of all realized entities associated with given intent path synchronously. The vmw-async: True HTTP header cannot be used with this API.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:
refresh
in interfaceRealizedEntity
- Parameters:
intentPath
- String Path of the intent object (required)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-