public class InboundStub extends com.vmware.vapi.internal.bindings.Stub implements Inbound
Inbound
API service.
WARNING: Internal class, subject to change in future versions.
InboundTypes.Policy, InboundTypes.Rule| Constructor and Description |
|---|
InboundStub(ApiProvider apiProvider,
StubConfigurationBase config) |
InboundStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<InboundTypes.Rule> |
get()
Get the ordered list of firewall rules.
|
void |
get(AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback)
Get the ordered list of firewall rules.
|
void |
get(AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback,
InvocationConfig invocationConfig)
Get the ordered list of firewall rules.
|
java.util.List<InboundTypes.Rule> |
get(InvocationConfig invocationConfig)
Get the ordered list of firewall rules.
|
void |
set(java.util.List<InboundTypes.Rule> rules)
Set the ordered list of firewall rules to allow or deny traffic from one or more
incoming IP addresses.
|
void |
set(java.util.List<InboundTypes.Rule> rules,
AsyncCallback<java.lang.Void> asyncCallback)
Set the ordered list of firewall rules to allow or deny traffic from one or more
incoming IP addresses.
|
void |
set(java.util.List<InboundTypes.Rule> rules,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set the ordered list of firewall rules to allow or deny traffic from one or more
incoming IP addresses.
|
void |
set(java.util.List<InboundTypes.Rule> rules,
InvocationConfig invocationConfig)
Set the ordered list of firewall rules to allow or deny traffic from one or more
incoming IP addresses.
|
public InboundStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public InboundStub(ApiProvider apiProvider, StubConfigurationBase config)
public void set(java.util.List<InboundTypes.Rule> rules)
InboundSynchronous method overload. Result of the invocation will be reported as a method return value.
public void set(java.util.List<InboundTypes.Rule> rules, InvocationConfig invocationConfig)
InboundSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void set(java.util.List<InboundTypes.Rule> rules, AsyncCallback<java.lang.Void> asyncCallback)
InboundAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error
public void set(java.util.List<InboundTypes.Rule> rules, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
InboundAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - Generic error
public java.util.List<InboundTypes.Rule> get()
InboundSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<InboundTypes.Rule> get(InvocationConfig invocationConfig)
InboundSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void get(AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback)
InboundAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
List of address-based firewall rules.
Operation Errors:
Error - Generic error
public void get(AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback, InvocationConfig invocationConfig)
InboundAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
List of address-based firewall rules.
Operation Errors:
Error - Generic error