Interface UpdateApiKeyResponse.Builder
-
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateApiKeyResponse.Builder,UpdateApiKeyResponse>,SdkBuilder<UpdateApiKeyResponse.Builder,UpdateApiKeyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateApiKeyResponse
public static interface UpdateApiKeyResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<UpdateApiKeyResponse.Builder,UpdateApiKeyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateApiKeyResponse.BuildercreatedDate(Instant createdDate)The timestamp when the API Key was created.UpdateApiKeyResponse.BuildercustomerId(String customerId)An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.UpdateApiKeyResponse.Builderdescription(String description)The description of the API Key.UpdateApiKeyResponse.Builderenabled(Boolean enabled)Specifies whether the API Key can be used by callers.UpdateApiKeyResponse.Builderid(String id)The identifier of the API Key.UpdateApiKeyResponse.BuilderlastUpdatedDate(Instant lastUpdatedDate)The timestamp when the API Key was last updated.UpdateApiKeyResponse.Buildername(String name)The name of the API Key.UpdateApiKeyResponse.BuilderstageKeys(String... stageKeys)A list of Stage resources that are associated with the ApiKey resource.UpdateApiKeyResponse.BuilderstageKeys(Collection<String> stageKeys)A list of Stage resources that are associated with the ApiKey resource.UpdateApiKeyResponse.Buildertags(Map<String,String> tags)The collection of tags.UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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
UpdateApiKeyResponse.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.
-
-