@Stability(value=Experimental) public static final class ApiKeyConfig.Builder extends Object implements software.amazon.jsii.Builder<ApiKeyConfig>
ApiKeyConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApiKeyConfig |
build()
Builds the configured instance.
|
ApiKeyConfig.Builder |
description(String description)
Sets the value of
ApiKeyConfig.getDescription() |
ApiKeyConfig.Builder |
expires(Expiration expires)
Sets the value of
ApiKeyConfig.getExpires() |
ApiKeyConfig.Builder |
name(String name)
Sets the value of
ApiKeyConfig.getName() |
@Stability(value=Experimental) public ApiKeyConfig.Builder description(String description)
ApiKeyConfig.getDescription()description - Description of API key.this@Stability(value=Experimental) public ApiKeyConfig.Builder expires(Expiration expires)
ApiKeyConfig.getExpires()expires - The time from creation time after which the API key expires.
It must be a minimum of 1 day and a maximum of 365 days from date of creation.
Rounded down to the nearest hour.this@Stability(value=Experimental) public ApiKeyConfig.Builder name(String name)
ApiKeyConfig.getName()name - Unique name of the API Key.this@Stability(value=Experimental) public ApiKeyConfig build()
build in interface software.amazon.jsii.Builder<ApiKeyConfig>ApiKeyConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.