ToCopyableBuilder<UpdateUsageResponse.Builder,UpdateUsageResponse>
@Generated("software.amazon.awssdk:codegen") public class UpdateUsageResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<UpdateUsageResponse.Builder,UpdateUsageResponse>
Represents the usage data of a usage plan.
Modifier and Type | Class | Description |
---|---|---|
static interface |
UpdateUsageResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static UpdateUsageResponse.Builder |
builder() |
|
String |
endDate() |
The ending date of the usage data.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Map<String,List<List<Long>>> |
items() |
The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API
keys in a usage plan.
|
String |
position() |
|
static Class<? extends UpdateUsageResponse.Builder> |
serializableBuilderClass() |
|
String |
startDate() |
The starting date of the usage data.
|
UpdateUsageResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
usagePlanId() |
The plan Id associated with this usage data.
|
setSdkHttpMetadata, setSdkResponseMetadata
public String usagePlanId()
The plan Id associated with this usage data.
public String startDate()
The starting date of the usage data.
public String endDate()
The ending date of the usage data.
public String position()
public Map<String,List<List<Long>>> items()
The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API
keys in a usage plan. For example,
{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
, where {api_key}
stands for an API key value and the daily log entry is of the format [used quota, remaining quota]
.
{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
, where
{api_key}
stands for an API key value and the daily log entry is of the format
[used quota, remaining quota]
.public UpdateUsageResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateUsageResponse.Builder,UpdateUsageResponse>
public static UpdateUsageResponse.Builder builder()
public static Class<? extends UpdateUsageResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.