Class HttpJsonRegionSslPoliciesStub (1.19.0)

public class HttpJsonRegionSslPoliciesStub extends RegionSslPoliciesStub

REST stub implementation for the RegionSslPolicies service API.

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

Inheritance

java.lang.Object > RegionSslPoliciesStub > HttpJsonRegionSslPoliciesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionSslPoliciesStubSettings settings)

public static final HttpJsonRegionSslPoliciesStub create(RegionSslPoliciesStubSettings settings)
Parameter
NameDescription
settingsRegionSslPoliciesStubSettings
Returns
TypeDescription
HttpJsonRegionSslPoliciesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonRegionSslPoliciesStub(RegionSslPoliciesStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionSslPoliciesStub(RegionSslPoliciesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionSslPoliciesStub, 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
settingsRegionSslPoliciesStubSettings
clientContextClientContext

HttpJsonRegionSslPoliciesStub(RegionSslPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionSslPoliciesStub(RegionSslPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionSslPoliciesStub, 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
settingsRegionSslPoliciesStubSettings
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

deleteCallable()

public UnaryCallable<DeleteRegionSslPolicyRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionSslPolicyRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteRegionSslPolicyRequest,Operation,Operation> deleteOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteRegionSslPolicyRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetRegionSslPolicyRequest,SslPolicy> getCallable()
Returns
TypeDescription
UnaryCallable<GetRegionSslPolicyRequest,SslPolicy>
Overrides

insertCallable()

public UnaryCallable<InsertRegionSslPolicyRequest,Operation> insertCallable()
Returns
TypeDescription
UnaryCallable<InsertRegionSslPolicyRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertRegionSslPolicyRequest,Operation,Operation> insertOperationCallable()
Returns
TypeDescription
OperationCallable<InsertRegionSslPolicyRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAvailableFeaturesCallable()

public UnaryCallable<ListAvailableFeaturesRegionSslPoliciesRequest,SslPoliciesListAvailableFeaturesResponse> listAvailableFeaturesCallable()
Returns
TypeDescription
UnaryCallable<ListAvailableFeaturesRegionSslPoliciesRequest,SslPoliciesListAvailableFeaturesResponse>
Overrides

listCallable()

public UnaryCallable<ListRegionSslPoliciesRequest,SslPoliciesList> listCallable()
Returns
TypeDescription
UnaryCallable<ListRegionSslPoliciesRequest,SslPoliciesList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionSslPoliciesRequest,RegionSslPoliciesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionSslPoliciesRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchRegionSslPolicyRequest,Operation> patchCallable()
Returns
TypeDescription
UnaryCallable<PatchRegionSslPolicyRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchRegionSslPolicyRequest,Operation,Operation> patchOperationCallable()
Returns
TypeDescription
OperationCallable<PatchRegionSslPolicyRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()