@Generated(value="software.amazon.awssdk:codegen") public final class CreateUsagePlanKeyRequest extends ApiGatewayRequest implements ToCopyableBuilder<CreateUsagePlanKeyRequest.Builder,CreateUsagePlanKeyRequest>
The POST request to create a usage plan key for adding an existing API key to a usage plan.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateUsagePlanKeyRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateUsagePlanKeyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
keyId()
The identifier of a UsagePlanKey resource for a plan customer.
|
String |
keyType()
The type of a UsagePlanKey resource for a plan customer.
|
static Class<? extends CreateUsagePlanKeyRequest.Builder> |
serializableBuilderClass() |
CreateUsagePlanKeyRequest.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 Id of the UsagePlan resource representing the usage plan containing the to-be-created
UsagePlanKey resource representing a plan customer.
|
overrideConfiguration
copy
public String usagePlanId()
The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
public String keyId()
The identifier of a UsagePlanKey resource for a plan customer.
public String keyType()
The type of a UsagePlanKey resource for a plan customer.
public CreateUsagePlanKeyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateUsagePlanKeyRequest.Builder,CreateUsagePlanKeyRequest>
toBuilder
in class ApiGatewayRequest
public static CreateUsagePlanKeyRequest.Builder builder()
public static Class<? extends CreateUsagePlanKeyRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.