public static interface ListKeysResponseEntry.Builder extends SdkPojo, CopyableBuilder<ListKeysResponseEntry.Builder,ListKeysResponseEntry>
| Modifier and Type | Method and Description |
|---|---|
ListKeysResponseEntry.Builder |
createTime(Instant createTime)
The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
ListKeysResponseEntry.Builder |
description(String description)
The optional description for the API key resource.
|
ListKeysResponseEntry.Builder |
expireTime(Instant expireTime)
The timestamp for when the API key resource will expire, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
ListKeysResponseEntry.Builder |
keyName(String keyName)
The name of the API key resource.
|
ListKeysResponseEntry.Builder |
restrictions(ApiKeyRestrictions restrictions)
Sets the value of the Restrictions property for this object.
|
default ListKeysResponseEntry.Builder |
restrictions(Consumer<ApiKeyRestrictions.Builder> restrictions)
Sets the value of the Restrictions property for this object.
|
ListKeysResponseEntry.Builder |
updateTime(Instant updateTime)
The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildListKeysResponseEntry.Builder createTime(Instant createTime)
The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
createTime - The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.ListKeysResponseEntry.Builder description(String description)
The optional description for the API key resource.
description - The optional description for the API key resource.ListKeysResponseEntry.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.ListKeysResponseEntry.Builder keyName(String keyName)
The name of the API key resource.
keyName - The name of the API key resource.ListKeysResponseEntry.Builder restrictions(ApiKeyRestrictions restrictions)
restrictions - The new value for the Restrictions property for this object.default ListKeysResponseEntry.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)ListKeysResponseEntry.Builder updateTime(Instant updateTime)
The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
updateTime - The timestamp of when the API key was last updated, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.Copyright © 2023. All rights reserved.