public final class AcquireInitialTokenRequestImpl extends Object implements AcquireInitialTokenRequest
AcquireInitialTokenRequest interface.| Modifier and Type | Method and Description |
|---|---|
static AcquireInitialTokenRequest |
create(String scope)
Creates a new
AcquireInitialTokenRequestImpl instance with the given scope. |
String |
scope()
An abstract scope for the attempts about to be executed.
|
public String scope()
AcquireInitialTokenRequestA scope should be a unique string describing the smallest possible scope of failure for the attempts about to be
executed. In practical terms, this is a key for the token bucket used to throttle request attempts. All attempts with the
same scope share the same token bucket within the same RetryStrategy, ensuring that token-bucket throttling for
requests against one resource do not result in throttling for requests against other, unrelated resources.
scope in interface AcquireInitialTokenRequestpublic static AcquireInitialTokenRequest create(String scope)
AcquireInitialTokenRequestImpl instance with the given scope.create in interface AcquireInitialTokenRequestCopyright © 2026. All rights reserved.