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.Builderdeletes(Long deletes)The time after which the API key is deleted.ApiKey.Builderdescription(String description)A description of the purpose of the API key.ApiKey.Builderexpires(Long expires)The time after which the API key expires.ApiKey.Builderid(String id)The API key ID.-
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
-
id
ApiKey.Builder id(String id)
The API key ID.
- Parameters:
id- The API key ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ApiKey.Builder description(String description)
A description of the purpose of the API key.
- Parameters:
description- A description of the purpose of the API key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expires
ApiKey.Builder expires(Long expires)
The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.
- Parameters:
expires- The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletes
ApiKey.Builder deletes(Long deletes)
The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.
- Parameters:
deletes- The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-