Class TlsInspectionPoliciesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.TlsInspectionPoliciesStub
-
- All Implemented Interfaces:
TlsInspectionPolicies
,TlsInspectionPoliciesTypes
,com.vmware.vapi.bindings.Service
public class TlsInspectionPoliciesStub extends com.vmware.vapi.internal.bindings.Stub implements TlsInspectionPolicies
Remote stub implementation of theTlsInspectionPolicies
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.TlsInspectionPoliciesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description TlsInspectionPoliciesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
TlsInspectionPoliciesStub(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 void
delete(java.lang.String policyId)
Delete TlsPolicyvoid
delete(java.lang.String policyId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete TlsPolicyvoid
delete(java.lang.String policyId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete TlsPolicyvoid
delete(java.lang.String policyId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete TlsPolicyTlsPolicy
get(java.lang.String policyId)
Read TLS policy.void
get(java.lang.String policyId, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback)
Read TLS policy.void
get(java.lang.String policyId, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read TLS policy.TlsPolicy
get(java.lang.String policyId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read TLS policy.TlsPolicyListResult
list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeRuleCount, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
List all TLS policies.void
list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeRuleCount, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicyListResult> asyncCallback)
List all TLS policies.void
list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeRuleCount, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicyListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all TLS policies.TlsPolicyListResult
list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeRuleCount, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all TLS policies.TlsPolicy
patch(java.lang.String policyId, TlsPolicy tlsPolicy)
Update the TLS policy.void
patch(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback)
Update the TLS policy.void
patch(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the TLS policy.TlsPolicy
patch(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the TLS policy.TlsPolicy
update(java.lang.String policyId, TlsPolicy tlsPolicy)
Update the TLS policy.void
update(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback)
Update the TLS policy.void
update(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the TLS policy.TlsPolicy
update(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the TLS policy.
-
-
-
Constructor Detail
-
TlsInspectionPoliciesStub
public TlsInspectionPoliciesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
TlsInspectionPoliciesStub
public TlsInspectionPoliciesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String policyId)
Description copied from interface:TlsInspectionPolicies
Delete TlsPolicySynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
delete
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)
-
delete
public void delete(java.lang.String policyId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
Delete TlsPolicySynchronous 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:
delete
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String policyId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:TlsInspectionPolicies
Delete TlsPolicyAsynchronous 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:
delete
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String policyId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
Delete TlsPolicyAsynchronous 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:
delete
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
public TlsPolicy get(java.lang.String policyId)
Description copied from interface:TlsInspectionPolicies
Read TLS policy.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)- Returns:
- com.vmware.nsx_policy.model.TlsPolicy
-
get
public TlsPolicy get(java.lang.String policyId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
Read TLS policy.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 interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsPolicy
-
get
public void get(java.lang.String policyId, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback)
Description copied from interface:TlsInspectionPolicies
Read TLS policy.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String policyId, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
Read TLS policy.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.TlsPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
public TlsPolicyListResult list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeRuleCount, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Description copied from interface:TlsInspectionPolicies
List all TLS policies.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in interfaceTlsInspectionPolicies
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includeRuleCount
- Include the count of rules in policy (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (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)- Returns:
- com.vmware.nsx_policy.model.TlsPolicyListResult
-
list
public TlsPolicyListResult list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeRuleCount, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
List all TLS policies.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:
list
in interfaceTlsInspectionPolicies
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includeRuleCount
- Include the count of rules in policy (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (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)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsPolicyListResult
-
list
public void list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeRuleCount, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicyListResult> asyncCallback)
Description copied from interface:TlsInspectionPolicies
List all TLS policies.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsPolicyListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceTlsInspectionPolicies
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includeRuleCount
- Include the count of rules in policy (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (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)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
list
public void list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeRuleCount, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicyListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
List all TLS policies.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.TlsPolicyListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceTlsInspectionPolicies
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includeRuleCount
- Include the count of rules in policy (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (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)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
patch
public TlsPolicy patch(java.lang.String policyId, TlsPolicy tlsPolicy)
Description copied from interface:TlsInspectionPolicies
Update the TLS policy. This is a full replace. All the rules are replaced. Performance Note: If you want to edit several rules in a TLS policy use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patch
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)tlsPolicy
- (required)- Returns:
- com.vmware.nsx_policy.model.TlsPolicy
-
patch
public TlsPolicy patch(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
Update the TLS policy. This is a full replace. All the rules are replaced. Performance Note: If you want to edit several rules in a TLS policy use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it.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:
patch
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)tlsPolicy
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsPolicy
-
patch
public void patch(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback)
Description copied from interface:TlsInspectionPolicies
Update the TLS policy. This is a full replace. All the rules are replaced. Performance Note: If you want to edit several rules in a TLS policy use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
patch
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)tlsPolicy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
Update the TLS policy. This is a full replace. All the rules are replaced. Performance Note: If you want to edit several rules in a TLS policy use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it.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.TlsPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
patch
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)tlsPolicy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public TlsPolicy update(java.lang.String policyId, TlsPolicy tlsPolicy)
Description copied from interface:TlsInspectionPolicies
Update the TLS policy. This is a full replace. All the rules are replaced. Performance Note: If you want to edit several rules in a TLS policy, use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)tlsPolicy
- (required)- Returns:
- com.vmware.nsx_policy.model.TlsPolicy
-
update
public TlsPolicy update(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
Update the TLS policy. This is a full replace. All the rules are replaced. Performance Note: If you want to edit several rules in a TLS policy, use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it.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:
update
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)tlsPolicy
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.TlsPolicy
-
update
public void update(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback)
Description copied from interface:TlsInspectionPolicies
Update the TLS policy. This is a full replace. All the rules are replaced. Performance Note: If you want to edit several rules in a TLS policy, use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.TlsPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)tlsPolicy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String policyId, TlsPolicy tlsPolicy, com.vmware.vapi.bindings.client.AsyncCallback<TlsPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:TlsInspectionPolicies
Update the TLS policy. This is a full replace. All the rules are replaced. Performance Note: If you want to edit several rules in a TLS policy, use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it.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.TlsPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceTlsInspectionPolicies
- Parameters:
policyId
- Firewall TLS inspection poicy id (required)tlsPolicy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-