public class MandatoryAccessControlStub extends com.vmware.vapi.internal.bindings.Stub implements MandatoryAccessControl
MandatoryAccessControl
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
MandatoryAccessControlStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
MandatoryAccessControlStub(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 |
---|---|
MandatoryAccessControlProperties |
get()
Gets the enable status for Mandatory Access Control
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<MandatoryAccessControlProperties> asyncCallback)
Gets the enable status for Mandatory Access Control
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<MandatoryAccessControlProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the enable status for Mandatory Access Control
|
MandatoryAccessControlProperties |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Gets the enable status for Mandatory Access Control
|
MandatoryAccessControlProperties |
update(MandatoryAccessControlProperties mandatoryAccessControlProperties)
Enable or disable Mandatory Access Control
|
void |
update(MandatoryAccessControlProperties mandatoryAccessControlProperties,
com.vmware.vapi.bindings.client.AsyncCallback<MandatoryAccessControlProperties> asyncCallback)
Enable or disable Mandatory Access Control
|
void |
update(MandatoryAccessControlProperties mandatoryAccessControlProperties,
com.vmware.vapi.bindings.client.AsyncCallback<MandatoryAccessControlProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Enable or disable Mandatory Access Control
|
MandatoryAccessControlProperties |
update(MandatoryAccessControlProperties mandatoryAccessControlProperties,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Enable or disable Mandatory Access Control
|
public MandatoryAccessControlStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public MandatoryAccessControlStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public MandatoryAccessControlProperties get()
MandatoryAccessControl
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface MandatoryAccessControl
public MandatoryAccessControlProperties get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MandatoryAccessControl
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface MandatoryAccessControl
invocationConfig
- Configuration for the method invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<MandatoryAccessControlProperties> asyncCallback)
MandatoryAccessControl
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.MandatoryAccessControlProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface MandatoryAccessControl
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<MandatoryAccessControlProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MandatoryAccessControl
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:
com.vmware.nsx.model.MandatoryAccessControlProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface MandatoryAccessControl
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public MandatoryAccessControlProperties update(MandatoryAccessControlProperties mandatoryAccessControlProperties)
MandatoryAccessControl
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface MandatoryAccessControl
mandatoryAccessControlProperties
- (required)public MandatoryAccessControlProperties update(MandatoryAccessControlProperties mandatoryAccessControlProperties, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MandatoryAccessControl
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface MandatoryAccessControl
mandatoryAccessControlProperties
- (required)invocationConfig
- Configuration for the method invocation.public void update(MandatoryAccessControlProperties mandatoryAccessControlProperties, com.vmware.vapi.bindings.client.AsyncCallback<MandatoryAccessControlProperties> asyncCallback)
MandatoryAccessControl
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.MandatoryAccessControlProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface MandatoryAccessControl
mandatoryAccessControlProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(MandatoryAccessControlProperties mandatoryAccessControlProperties, com.vmware.vapi.bindings.client.AsyncCallback<MandatoryAccessControlProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MandatoryAccessControl
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:
com.vmware.nsx.model.MandatoryAccessControlProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface MandatoryAccessControl
mandatoryAccessControlProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.