Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateUsagePlanRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>
The POST request to create a usage plan with the name, description, throttle limits and quota limits, as well as the associated API stages, specified in the payload.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateUsagePlanRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
List<ApiStage> |
apiStages() |
The associated API stages of the usage plan.
|
static CreateUsagePlanRequest.Builder |
builder() |
|
String |
description() |
The description of the usage plan.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
name() |
The name of the usage plan.
|
QuotaSettings |
quota() |
The quota of the usage plan.
|
static Class<? extends CreateUsagePlanRequest.Builder> |
serializableBuilderClass() |
|
ThrottleSettings |
throttle() |
The throttling limits of the usage plan.
|
CreateUsagePlanRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String name()
The name of the usage plan.
public String description()
The description of the usage plan.
public List<ApiStage> apiStages()
The associated API stages of the usage plan.
public ThrottleSettings throttle()
The throttling limits of the usage plan.
public QuotaSettings quota()
The quota of the usage plan.
public CreateUsagePlanRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>
public static CreateUsagePlanRequest.Builder builder()
public static Class<? extends CreateUsagePlanRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.