Class RuleServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.async.beta.organization.federation.RuleServiceAsync
public final class RuleServiceAsyncImpl implements RuleServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRuleServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description RuleServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. WorkspaceServiceAsyncworkspaces()RuleServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<BetaFederationRule>create(RuleCreateParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationRule>retrieve(RuleRetrieveParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationRule>update(RuleUpdateParams params, RequestOptions requestOptions)CompletableFuture<RuleListPageAsync>list(RuleListParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationRule>archive(RuleArchiveParams params, RequestOptions requestOptions)-
Methods inherited from class com.anthropic.services.async.beta.organization.federation.RuleServiceAsync
archive, archive, archive, archive, archive, create, list, list, list, retrieve, retrieve, retrieve, retrieve, retrieve, update, update, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
RuleServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
workspaces
WorkspaceServiceAsync workspaces()
-
withOptions
RuleServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<BetaFederationRule> create(RuleCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaFederationRule> retrieve(RuleRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<BetaFederationRule> update(RuleUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<RuleListPageAsync> list(RuleListParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaFederationRule> archive(RuleArchiveParams params, RequestOptions requestOptions)
-
-
-
-