Class FirewallIpReputationFeedStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.FirewallIpReputationFeedStub
-
- All Implemented Interfaces:
FirewallIpReputationFeed
,FirewallIpReputationFeedTypes
,com.vmware.vapi.bindings.Service
public class FirewallIpReputationFeedStub extends com.vmware.vapi.internal.bindings.Stub implements FirewallIpReputationFeed
Remote stub implementation of theFirewallIpReputationFeed
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.FirewallIpReputationFeedTypes
_VAPI_SERVICE_ID, CREATE_OPERATION_DISABLE_AUTO_DOWNLOAD, CREATE_OPERATION_DOWNLOAD, CREATE_OPERATION_ENABLE_AUTO_DOWNLOAD
-
-
Constructor Summary
Constructors Constructor Description FirewallIpReputationFeedStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
FirewallIpReputationFeedStub(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 PolicyFirewallIpReputationConfig
create(java.lang.String operation)
This API can be used to activate or deactivate auto-download of IP reputation feed, it can also be used to trigger download of IP reputation feed when required.void
create(java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallIpReputationConfig> asyncCallback)
This API can be used to activate or deactivate auto-download of IP reputation feed, it can also be used to trigger download of IP reputation feed when required.void
create(java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallIpReputationConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API can be used to activate or deactivate auto-download of IP reputation feed, it can also be used to trigger download of IP reputation feed when required.PolicyFirewallIpReputationConfig
create(java.lang.String operation, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API can be used to activate or deactivate auto-download of IP reputation feed, it can also be used to trigger download of IP reputation feed when required.PolicyFirewallIpReputationConfig
get()
API to retrieve the current IP Reputation feed configuration.void
get(com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallIpReputationConfig> asyncCallback)
API to retrieve the current IP Reputation feed configuration.void
get(com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallIpReputationConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API to retrieve the current IP Reputation feed configuration.PolicyFirewallIpReputationConfig
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API to retrieve the current IP Reputation feed configuration.
-
-
-
Constructor Detail
-
FirewallIpReputationFeedStub
public FirewallIpReputationFeedStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
FirewallIpReputationFeedStub
public FirewallIpReputationFeedStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public PolicyFirewallIpReputationConfig create(java.lang.String operation)
Description copied from interface:FirewallIpReputationFeed
This API can be used to activate or deactivate auto-download of IP reputation feed, it can also be used to trigger download of IP reputation feed when required. Once auto-download is activated, IP reputation feed will be downloaded at regular intervals of 720 mins(12 hrs). Auto-download of IP reputation feed can be activated using the action 'enable_auto_download', to deactivate use action 'disable_auto_download' and to trigger a download use action 'download'.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
create
in interfaceFirewallIpReputationFeed
- Parameters:
operation
- action (required)- Returns:
- com.vmware.nsx_policy.model.PolicyFirewallIpReputationConfig
-
create
public PolicyFirewallIpReputationConfig create(java.lang.String operation, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:FirewallIpReputationFeed
This API can be used to activate or deactivate auto-download of IP reputation feed, it can also be used to trigger download of IP reputation feed when required. Once auto-download is activated, IP reputation feed will be downloaded at regular intervals of 720 mins(12 hrs). Auto-download of IP reputation feed can be activated using the action 'enable_auto_download', to deactivate use action 'disable_auto_download' and to trigger a download use action 'download'.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 interfaceFirewallIpReputationFeed
- Parameters:
operation
- action (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyFirewallIpReputationConfig
-
create
public void create(java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallIpReputationConfig> asyncCallback)
Description copied from interface:FirewallIpReputationFeed
This API can be used to activate or deactivate auto-download of IP reputation feed, it can also be used to trigger download of IP reputation feed when required. Once auto-download is activated, IP reputation feed will be downloaded at regular intervals of 720 mins(12 hrs). Auto-download of IP reputation feed can be activated using the action 'enable_auto_download', to deactivate use action 'disable_auto_download' and to trigger a download use action 'download'.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyFirewallIpReputationConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
create
in interfaceFirewallIpReputationFeed
- Parameters:
operation
- action (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
public void create(java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallIpReputationConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:FirewallIpReputationFeed
This API can be used to activate or deactivate auto-download of IP reputation feed, it can also be used to trigger download of IP reputation feed when required. Once auto-download is activated, IP reputation feed will be downloaded at regular intervals of 720 mins(12 hrs). Auto-download of IP reputation feed can be activated using the action 'enable_auto_download', to deactivate use action 'disable_auto_download' and to trigger a download use action 'download'.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.PolicyFirewallIpReputationConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
create
in interfaceFirewallIpReputationFeed
- Parameters:
operation
- action (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
public PolicyFirewallIpReputationConfig get()
Description copied from interface:FirewallIpReputationFeed
API to retrieve the current IP Reputation feed configuration.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceFirewallIpReputationFeed
- Returns:
- com.vmware.nsx_policy.model.PolicyFirewallIpReputationConfig
-
get
public PolicyFirewallIpReputationConfig get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:FirewallIpReputationFeed
API to retrieve the current IP Reputation feed 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:
get
in interfaceFirewallIpReputationFeed
- Parameters:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyFirewallIpReputationConfig
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallIpReputationConfig> asyncCallback)
Description copied from interface:FirewallIpReputationFeed
API to retrieve the current IP Reputation feed configuration.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyFirewallIpReputationConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceFirewallIpReputationFeed
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallIpReputationConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:FirewallIpReputationFeed
API to retrieve the current IP Reputation feed 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.PolicyFirewallIpReputationConfigOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceFirewallIpReputationFeed
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-