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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PublicKey.Builder
createdTime(Instant createdTime)
The date and time when the public key was uploaded.PublicKey.Builder
id(String id)
The identifier of the public key.default PublicKey.Builder
publicKeyConfig(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.PublicKey.Builder
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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
PublicKey.Builder id(String 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
PublicKey.Builder createdTime(Instant 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
PublicKey.Builder publicKeyConfig(PublicKeyConfig 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
default PublicKey.Builder publicKeyConfig(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.
This is a convenience method that creates an instance of thePublicKeyConfig.Builder
avoiding the need to create one manually viaPublicKeyConfig.builder()
.When the
Consumer
completes,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:
publicKeyConfig(PublicKeyConfig)
-
-