Class StateStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.global_infra.tier_1s.StateStub
-
- All Implemented Interfaces:
State
,StateTypes
,com.vmware.vapi.bindings.Service
public class StateStub extends com.vmware.vapi.internal.bindings.Stub implements State
Remote stub implementation of theState
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.global_infra.tier_1s.StateTypes
_VAPI_SERVICE_ID, GET_SOURCE_CACHED, GET_SOURCE_REALTIME, GET_TYPE_GATEWAY_STATE, GET_TYPE_GATEWAY_STATUS, GET_TYPE_IPV6_STATUS
-
-
Constructor Summary
Constructors Constructor Description StateStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
StateStub(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 Tier1GatewayState
get(java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String source, java.lang.String type)
Returnsvoid
get(java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String source, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<Tier1GatewayState> asyncCallback)
Returnsvoid
get(java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String source, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<Tier1GatewayState> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ReturnsTier1GatewayState
get(java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String source, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns
-
-
-
Constructor Detail
-
StateStub
public StateStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
StateStub
public StateStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public Tier1GatewayState get(java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String source, java.lang.String type)
Description copied from interface:State
ReturnsSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceState
- Parameters:
tier1Id
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)enforcementPointPath
- Enforcement point path (optional)includedFields
- Comma separated list of fields that should be included in query result (optional)interfacePath
- Interface path for interface specific state such as IPv6 DAD state (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)source
- Data source type. (optional)type
- Returns specific information based on the value specified. (optional)- Returns:
- com.vmware.nsx_policy.model.Tier1GatewayState
-
get
public Tier1GatewayState get(java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String source, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:State
ReturnsSynchronous 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 interfaceState
- Parameters:
tier1Id
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)enforcementPointPath
- Enforcement point path (optional)includedFields
- Comma separated list of fields that should be included in query result (optional)interfacePath
- Interface path for interface specific state such as IPv6 DAD state (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)source
- Data source type. (optional)type
- Returns specific information based on the value specified. (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.Tier1GatewayState
-
get
public void get(java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String source, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<Tier1GatewayState> asyncCallback)
Description copied from interface:State
ReturnsAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.Tier1GatewayStateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceState
- Parameters:
tier1Id
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)enforcementPointPath
- Enforcement point path (optional)includedFields
- Comma separated list of fields that should be included in query result (optional)interfacePath
- Interface path for interface specific state such as IPv6 DAD state (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)source
- Data source type. (optional)type
- Returns specific information based on the value specified. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String source, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<Tier1GatewayState> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:State
ReturnsAsynchronous 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.Tier1GatewayStateOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceState
- Parameters:
tier1Id
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)enforcementPointPath
- Enforcement point path (optional)includedFields
- Comma separated list of fields that should be included in query result (optional)interfacePath
- Interface path for interface specific state such as IPv6 DAD state (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)source
- Data source type. (optional)type
- Returns specific information based on the value specified. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-