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