Interface ListKeysResponseEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListKeysResponseEntry.Builder,ListKeysResponseEntry>,SdkBuilder<ListKeysResponseEntry.Builder,ListKeysResponseEntry>,SdkPojo
- Enclosing class:
- ListKeysResponseEntry
public static interface ListKeysResponseEntry.Builder extends SdkPojo, CopyableBuilder<ListKeysResponseEntry.Builder,ListKeysResponseEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListKeysResponseEntry.BuildercreateTime(Instant createTime)The timestamp of when the API key was created, in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.ListKeysResponseEntry.Builderdescription(String description)The optional description for the API key resource.ListKeysResponseEntry.BuilderexpireTime(Instant expireTime)The timestamp for when the API key resource will expire, in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.ListKeysResponseEntry.BuilderkeyName(String keyName)The name of the API key resource.default ListKeysResponseEntry.Builderrestrictions(Consumer<ApiKeyRestrictions.Builder> restrictions)Sets the value of the Restrictions property for this object.ListKeysResponseEntry.Builderrestrictions(ApiKeyRestrictions restrictions)Sets the value of the Restrictions property for this object.ListKeysResponseEntry.BuilderupdateTime(Instant updateTime)The timestamp of when the API key was last updated, in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.-
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, sdkFields
-
-
-
-
Method Detail
-
keyName
ListKeysResponseEntry.Builder keyName(String keyName)
The name of the API key resource.
- Parameters:
keyName- The name of the API key resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expireTime
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.- Parameters:
expireTime- The timestamp for when the API key resource will expire, in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ListKeysResponseEntry.Builder description(String description)
The optional description for the API key resource.
- Parameters:
description- The optional description for the API key resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictions
ListKeysResponseEntry.Builder restrictions(ApiKeyRestrictions restrictions)
Sets the value of the Restrictions property for this object.- Parameters:
restrictions- The new value for the Restrictions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictions
default ListKeysResponseEntry.Builder restrictions(Consumer<ApiKeyRestrictions.Builder> restrictions)
Sets the value of the Restrictions property for this object. This is a convenience method that creates an instance of theApiKeyRestrictions.Builderavoiding the need to create one manually viaApiKeyRestrictions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torestrictions(ApiKeyRestrictions).- Parameters:
restrictions- a consumer that will call methods onApiKeyRestrictions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
restrictions(ApiKeyRestrictions)
-
createTime
ListKeysResponseEntry.Builder createTime(Instant createTime)
The timestamp of when the API key was created, in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.- Parameters:
createTime- The timestamp of when the API key was created, in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
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.- Parameters:
updateTime- The timestamp of when the API key was last updated, in ISO 8601 format:YYYY-MM-DDThh:mm:ss.sssZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-