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
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
InboundStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
InboundStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<InboundTypes.Rule> |
get()
Get the ordered list of firewall rules.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback)
Get the ordered list of firewall rules.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the ordered list of firewall rules.
|
java.util.List<InboundTypes.Rule> |
get(com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set the ordered list of firewall rules to allow or deny traffic from one or more
incoming IP addresses.
|
public InboundStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public InboundStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void set(java.util.List<InboundTypes.Rule> rules)
Inbound
Address | Prefix | Interface Name | Policy |
---|---|---|---|
10.112.0.1 | 0 | * | REJECT |
10.112.0.1 | 0 | nic0 | ACCEPT |
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(java.util.List<InboundTypes.Rule> rules, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Inbound
Address | Prefix | Interface Name | Policy |
---|---|---|---|
10.112.0.1 | 0 | * | REJECT |
10.112.0.1 | 0 | nic0 | ACCEPT |
Synchronous 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, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Inbound
Address | Prefix | Interface Name | Policy |
---|---|---|---|
10.112.0.1 | 0 | * | REJECT |
10.112.0.1 | 0 | nic0 | ACCEPT |
Asynchronous 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, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Inbound
Address | Prefix | Interface Name | Policy |
---|---|---|---|
10.112.0.1 | 0 | * | REJECT |
10.112.0.1 | 0 | nic0 | ACCEPT |
Asynchronous 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()
Inbound
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<InboundTypes.Rule> get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Inbound
Synchronous 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(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback)
Inbound
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of address-based firewall rules.
Operation Errors:
Error
- Generic error
public void get(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<InboundTypes.Rule>> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Inbound
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
List of address-based firewall rules.
Operation Errors:
Error
- Generic error