Interface CreateApiKeyResponse.Builder
-
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateApiKeyResponse.Builder,CreateApiKeyResponse>,SdkBuilder<CreateApiKeyResponse.Builder,CreateApiKeyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateApiKeyResponse
public static interface CreateApiKeyResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<CreateApiKeyResponse.Builder,CreateApiKeyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateApiKeyResponse.BuildercreatedDate(Instant createdDate)The timestamp when the API Key was created.CreateApiKeyResponse.BuildercustomerId(String customerId)An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.CreateApiKeyResponse.Builderdescription(String description)The description of the API Key.CreateApiKeyResponse.Builderenabled(Boolean enabled)Specifies whether the API Key can be used by callers.CreateApiKeyResponse.Builderid(String id)The identifier of the API Key.CreateApiKeyResponse.BuilderlastUpdatedDate(Instant lastUpdatedDate)The timestamp when the API Key was last updated.CreateApiKeyResponse.Buildername(String name)The name of the API Key.CreateApiKeyResponse.BuilderstageKeys(String... stageKeys)A list of Stage resources that are associated with the ApiKey resource.CreateApiKeyResponse.BuilderstageKeys(Collection<String> stageKeys)A list of Stage resources that are associated with the ApiKey resource.CreateApiKeyResponse.Buildertags(Map<String,String> tags)The collection of tags.CreateApiKeyResponse.Buildervalue(String value)The value of the API Key.-
Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
id
CreateApiKeyResponse.Builder id(String id)
The identifier of the API Key.
- Parameters:
id- The identifier of the API Key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
CreateApiKeyResponse.Builder value(String value)
The value of the API Key.
- Parameters:
value- The value of the API Key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateApiKeyResponse.Builder name(String name)
The name of the API Key.
- Parameters:
name- The name of the API Key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerId
CreateApiKeyResponse.Builder customerId(String customerId)
An 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.
-
description
CreateApiKeyResponse.Builder description(String description)
The description of the API Key.
- Parameters:
description- The description of the API Key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
CreateApiKeyResponse.Builder enabled(Boolean enabled)
Specifies whether the API Key can be used by callers.
- Parameters:
enabled- Specifies whether the API Key can be used by callers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
CreateApiKeyResponse.Builder createdDate(Instant createdDate)
The timestamp when the API Key was created.
- Parameters:
createdDate- The timestamp when the API Key was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDate
CreateApiKeyResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The timestamp when the API Key was last updated.
- Parameters:
lastUpdatedDate- The timestamp when the API Key was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageKeys
CreateApiKeyResponse.Builder stageKeys(Collection<String> stageKeys)
A list of Stage resources that are associated with the ApiKey resource.
- Parameters:
stageKeys- A list of Stage resources that are associated with the ApiKey resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageKeys
CreateApiKeyResponse.Builder stageKeys(String... stageKeys)
A list of Stage resources that are associated with the ApiKey resource.
- Parameters:
stageKeys- A list of Stage resources that are associated with the ApiKey resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateApiKeyResponse.Builder tags(Map<String,String> tags)
The collection of tags. Each tag element is associated with a given resource.
- Parameters:
tags- The collection of tags. Each tag element is associated with a given resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-