public static interface DescribeKeyResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<DescribeKeyResponse.Builder,DescribeKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeKeyResponse.Builder |
createTime(Instant createTime)
The timestamp for when the API key resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
DescribeKeyResponse.Builder |
description(String description)
The optional description for the API key resource.
|
DescribeKeyResponse.Builder |
expireTime(Instant expireTime)
The timestamp for when the API key resource will expire in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
DescribeKeyResponse.Builder |
key(String key)
The key value/string of an API key.
|
DescribeKeyResponse.Builder |
keyArn(String keyArn)
The Amazon Resource Name (ARN) for the API key resource.
|
DescribeKeyResponse.Builder |
keyName(String keyName)
The name of the API key resource.
|
DescribeKeyResponse.Builder |
restrictions(ApiKeyRestrictions restrictions)
Sets the value of the Restrictions property for this object.
|
default DescribeKeyResponse.Builder |
restrictions(Consumer<ApiKeyRestrictions.Builder> restrictions)
Sets the value of the Restrictions property for this object.
|
DescribeKeyResponse.Builder |
tags(Map<String,String> tags)
Tags associated with the API key resource.
|
DescribeKeyResponse.Builder |
updateTime(Instant updateTime)
The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeKeyResponse.Builder createTime(Instant createTime)
The timestamp for when the API key resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
createTime - The timestamp for when the API key resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.DescribeKeyResponse.Builder description(String description)
The optional description for the API key resource.
description - The optional description for the API key resource.DescribeKeyResponse.Builder expireTime(Instant expireTime)
The timestamp for when the API key resource will expire in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
expireTime - The timestamp for when the API key resource will expire in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.DescribeKeyResponse.Builder key(String key)
The key value/string of an API key.
key - The key value/string of an API key.DescribeKeyResponse.Builder keyArn(String keyArn)
The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.
Format example: arn:aws:geo:region:account-id:key/ExampleKey
keyArn - The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource
across all Amazon Web Services.
Format example: arn:aws:geo:region:account-id:key/ExampleKey
DescribeKeyResponse.Builder keyName(String keyName)
The name of the API key resource.
keyName - The name of the API key resource.DescribeKeyResponse.Builder restrictions(ApiKeyRestrictions restrictions)
restrictions - The new value for the Restrictions property for this object.default DescribeKeyResponse.Builder restrictions(Consumer<ApiKeyRestrictions.Builder> restrictions)
ApiKeyRestrictions.Builder avoiding the
need to create one manually via ApiKeyRestrictions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to restrictions(ApiKeyRestrictions).
restrictions - a consumer that will call methods on ApiKeyRestrictions.Builderrestrictions(ApiKeyRestrictions)DescribeKeyResponse.Builder tags(Map<String,String> tags)
Tags associated with the API key resource.
tags - Tags associated with the API key resource.DescribeKeyResponse.Builder updateTime(Instant updateTime)
The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
updateTime - The timestamp for when the API key resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.Copyright © 2023. All rights reserved.