public class HttpJsonRegionSecurityPoliciesStub extends RegionSecurityPoliciesStub
REST stub implementation for the RegionSecurityPolicies service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonRegionSecurityPoliciesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionSecurityPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(RegionSecurityPoliciesStubSettings settings)
public static final HttpJsonRegionSecurityPoliciesStub create(RegionSecurityPoliciesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonRegionSecurityPoliciesStub(RegionSecurityPoliciesStubSettings settings, ClientContext clientContext)
protected HttpJsonRegionSecurityPoliciesStub(RegionSecurityPoliciesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRegionSecurityPoliciesStub, 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.
HttpJsonRegionSecurityPoliciesStub(RegionSecurityPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRegionSecurityPoliciesStub(RegionSecurityPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionSecurityPoliciesStub, 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.
Methods
addRuleCallable()
public UnaryCallable<AddRuleRegionSecurityPolicyRequest,Operation> addRuleCallable()
Overrides
addRuleOperationCallable()
public OperationCallable<AddRuleRegionSecurityPolicyRequest,Operation,Operation> addRuleOperationCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteRegionSecurityPolicyRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteRegionSecurityPolicyRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetRegionSecurityPolicyRequest,SecurityPolicy> getCallable()
Overrides
getRuleCallable()
public UnaryCallable<GetRuleRegionSecurityPolicyRequest,SecurityPolicyRule> getRuleCallable()
Overrides
insertCallable()
public UnaryCallable<InsertRegionSecurityPolicyRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertRegionSecurityPolicyRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListRegionSecurityPoliciesRequest,SecurityPolicyList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListRegionSecurityPoliciesRequest,RegionSecurityPoliciesClient.ListPagedResponse> listPagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchRegionSecurityPolicyRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchRegionSecurityPolicyRequest,Operation,Operation> patchOperationCallable()
Overrides
patchRuleCallable()
public UnaryCallable<PatchRuleRegionSecurityPolicyRequest,Operation> patchRuleCallable()
Overrides
patchRuleOperationCallable()
public OperationCallable<PatchRuleRegionSecurityPolicyRequest,Operation,Operation> patchRuleOperationCallable()
Overrides
removeRuleCallable()
public UnaryCallable<RemoveRuleRegionSecurityPolicyRequest,Operation> removeRuleCallable()
Overrides
removeRuleOperationCallable()
public OperationCallable<RemoveRuleRegionSecurityPolicyRequest,Operation,Operation> removeRuleOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()