Class HttpJsonCloudControlsPartnerCoreStub (0.1.0)

public class HttpJsonCloudControlsPartnerCoreStub extends CloudControlsPartnerCoreStub

REST stub implementation for the CloudControlsPartnerCore service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > CloudControlsPartnerCoreStub > HttpJsonCloudControlsPartnerCoreStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonCloudControlsPartnerCoreStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonCloudControlsPartnerCoreStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCloudControlsPartnerCoreStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonCloudControlsPartnerCoreStub
Exceptions
TypeDescription
IOException

create(CloudControlsPartnerCoreStubSettings settings)

public static final HttpJsonCloudControlsPartnerCoreStub create(CloudControlsPartnerCoreStubSettings settings)
Parameter
NameDescription
settingsCloudControlsPartnerCoreStubSettings
Returns
TypeDescription
HttpJsonCloudControlsPartnerCoreStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext)

protected HttpJsonCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCloudControlsPartnerCoreStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsCloudControlsPartnerCoreStubSettings
clientContextClientContext

HttpJsonCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCloudControlsPartnerCoreStub(CloudControlsPartnerCoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonCloudControlsPartnerCoreStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsCloudControlsPartnerCoreStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

getCustomerCallable()

public UnaryCallable<GetCustomerRequest,Customer> getCustomerCallable()
Returns
TypeDescription
UnaryCallable<GetCustomerRequest,Customer>
Overrides

getEkmConnectionsCallable()

public UnaryCallable<GetEkmConnectionsRequest,EkmConnections> getEkmConnectionsCallable()
Returns
TypeDescription
UnaryCallable<GetEkmConnectionsRequest,EkmConnections>
Overrides

getPartnerCallable()

public UnaryCallable<GetPartnerRequest,Partner> getPartnerCallable()
Returns
TypeDescription
UnaryCallable<GetPartnerRequest,Partner>
Overrides

getPartnerPermissionsCallable()

public UnaryCallable<GetPartnerPermissionsRequest,PartnerPermissions> getPartnerPermissionsCallable()
Returns
TypeDescription
UnaryCallable<GetPartnerPermissionsRequest,PartnerPermissions>
Overrides

getWorkloadCallable()

public UnaryCallable<GetWorkloadRequest,Workload> getWorkloadCallable()
Returns
TypeDescription
UnaryCallable<GetWorkloadRequest,Workload>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAccessApprovalRequestsCallable()

public UnaryCallable<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsResponse> listAccessApprovalRequestsCallable()
Returns
TypeDescription
UnaryCallable<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsResponse>
Overrides

listAccessApprovalRequestsPagedCallable()

public UnaryCallable<ListAccessApprovalRequestsRequest,CloudControlsPartnerCoreClient.ListAccessApprovalRequestsPagedResponse> listAccessApprovalRequestsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAccessApprovalRequestsRequest,ListAccessApprovalRequestsPagedResponse>
Overrides

listCustomersCallable()

public UnaryCallable<ListCustomersRequest,ListCustomersResponse> listCustomersCallable()
Returns
TypeDescription
UnaryCallable<ListCustomersRequest,ListCustomersResponse>
Overrides

listCustomersPagedCallable()

public UnaryCallable<ListCustomersRequest,CloudControlsPartnerCoreClient.ListCustomersPagedResponse> listCustomersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCustomersRequest,ListCustomersPagedResponse>
Overrides

listWorkloadsCallable()

public UnaryCallable<ListWorkloadsRequest,ListWorkloadsResponse> listWorkloadsCallable()
Returns
TypeDescription
UnaryCallable<ListWorkloadsRequest,ListWorkloadsResponse>
Overrides

listWorkloadsPagedCallable()

public UnaryCallable<ListWorkloadsRequest,CloudControlsPartnerCoreClient.ListWorkloadsPagedResponse> listWorkloadsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListWorkloadsRequest,ListWorkloadsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()