Interface CreateApiKeyRequest.Builder
- All Superinterfaces:
- ApiGatewayRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateApiKeyRequest.Builder,,- CreateApiKeyRequest> - SdkBuilder<CreateApiKeyRequest.Builder,,- CreateApiKeyRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateApiKeyRequest
- 
Method SummaryModifier and TypeMethodDescriptioncustomerId(String customerId) An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.description(String description) The description of the ApiKey.Specifies whether the ApiKey can be used by callers.generateDistinctId(Boolean generateDistinctId) Specifies whether (true) or not (false) the key identifier is distinct from the created API key value.The name of the ApiKey.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.stageKeys(Collection<StageKey> stageKeys) DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.stageKeys(Consumer<StageKey.Builder>... stageKeys) DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.The key-value map of strings.Specifies a value of the API key.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe name of the ApiKey. - Parameters:
- name- The name of the ApiKey.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe description of the ApiKey. - Parameters:
- description- The description of the ApiKey.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
enabledSpecifies whether the ApiKey can be used by callers. - Parameters:
- enabled- Specifies whether the ApiKey can be used by callers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
generateDistinctIdSpecifies whether ( true) or not (false) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.- Parameters:
- generateDistinctId- Specifies whether (- true) or not (- false) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
valueSpecifies a value of the API key. - Parameters:
- value- Specifies a value of the API key.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stageKeysDEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key. - Parameters:
- stageKeys- DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stageKeysDEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key. - Parameters:
- stageKeys- DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stageKeysDEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key. This is a convenience method that creates an instance of theStageKey.Builderavoiding the need to create one manually viaStageKey.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostageKeys(List<StageKey>).- Parameters:
- stageKeys- a consumer that will call methods on- StageKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
customerIdAn Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace. - Parameters:
- customerId- An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsThe key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.- Parameters:
- tags- The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with- aws:. The tag value can be up to 256 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateApiKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateApiKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-