Interface PublicKey.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PublicKey.Builder,,PublicKey> SdkBuilder<PublicKey.Builder,,PublicKey> SdkPojo
- Enclosing class:
PublicKey
public static interface PublicKey.Builder
extends SdkPojo, CopyableBuilder<PublicKey.Builder,PublicKey>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTime(Instant createdTime) The date and time when the public key was uploaded.The identifier of the public key.default PublicKey.BuilderpublicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig) Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.publicKeyConfig(PublicKeyConfig publicKeyConfig) Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The identifier of the public key.
- Parameters:
id- The identifier of the public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The date and time when the public key was uploaded.
- Parameters:
createdTime- The date and time when the public key was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyConfig
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
- Parameters:
publicKeyConfig- Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyConfig
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
This is a convenience method that creates an instance of thePublicKeyConfig.Builderavoiding the need to create one manually viaPublicKeyConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topublicKeyConfig(PublicKeyConfig).- Parameters:
publicKeyConfig- a consumer that will call methods onPublicKeyConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-