Class ReleaseResponse
- java.lang.Object
-
- software.amazon.awssdk.retries.internal.circuitbreaker.ReleaseResponse
-
- All Implemented Interfaces:
ToCopyableBuilder<ReleaseResponse.Builder,ReleaseResponse>
@SdkInternalApi public final class ReleaseResponse extends Object implements ToCopyableBuilder<ReleaseResponse.Builder,ReleaseResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReleaseResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReleaseResponse.Builderbuilder()Creates a new builder to build aReleaseResponseinstance.intcapacityReleased()Returns the capacity released from the request.intcurrentCapacity()Returns the capacity of the token bucket after the release.intmaxCapacity()Returns the max capacity for the token bucket.ReleaseResponse.BuildertoBuilder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
capacityReleased
public int capacityReleased()
Returns the capacity released from the request.
-
currentCapacity
public int currentCapacity()
Returns the capacity of the token bucket after the release.
-
maxCapacity
public int maxCapacity()
Returns the max capacity for the token bucket.
-
builder
public static ReleaseResponse.Builder builder()
Creates a new builder to build aReleaseResponseinstance.
-
toBuilder
public ReleaseResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReleaseResponse.Builder,ReleaseResponse>
-
-