Interface PrivateKeySource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrivateKeySource.Builder,,PrivateKeySource> SdkBuilder<PrivateKeySource.Builder,,PrivateKeySource> SdkPojo
- Enclosing class:
PrivateKeySource
@Mutable
@NotThreadSafe
public static interface PrivateKeySource.Builder
extends SdkPojo, CopyableBuilder<PrivateKeySource.Builder,PrivateKeySource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrivateKeySource.BuilderkmsKeySource(Consumer<KmsKeySourceType.Builder> kmsKeySource) The KMS key source for the JWT client assertion.kmsKeySource(KmsKeySourceType kmsKeySource) The KMS key source for the JWT client assertion.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, sdkFieldNameToField, sdkFields
-
Method Details
-
kmsKeySource
The KMS key source for the JWT client assertion.
- Parameters:
kmsKeySource- The KMS key source for the JWT client assertion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeySource
The KMS key source for the JWT client assertion.
This is a convenience method that creates an instance of theKmsKeySourceType.Builderavoiding the need to create one manually viaKmsKeySourceType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokmsKeySource(KmsKeySourceType).- Parameters:
kmsKeySource- a consumer that will call methods onKmsKeySourceType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-