Interface PublicKey.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<PublicKey.Builder,,- PublicKey> - SdkBuilder<PublicKey.Builder,,- PublicKey> - SdkPojo
- Enclosing class:
- PublicKey
@Mutable
@NotThreadSafe
public static interface PublicKey.Builder
extends SdkPojo, CopyableBuilder<PublicKey.Builder,PublicKey> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
idThe 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.
 
- 
createdTimeThe 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.
 
- 
publicKeyConfigConfiguration 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.
 
- 
publicKeyConfigConfiguration 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 on- PublicKeyConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-