Interface CustomCodeSigning.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomCodeSigning.Builder,,CustomCodeSigning> SdkBuilder<CustomCodeSigning.Builder,,CustomCodeSigning> SdkPojo
- Enclosing class:
CustomCodeSigning
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomCodeSigning.BuildercertificateChain(Consumer<CodeSigningCertificateChain.Builder> certificateChain) The certificate chain.certificateChain(CodeSigningCertificateChain certificateChain) The certificate chain.hashAlgorithm(String hashAlgorithm) The hash algorithm used to code sign the file.default CustomCodeSigning.Buildersignature(Consumer<CodeSigningSignature.Builder> signature) The signature for the file.signature(CodeSigningSignature signature) The signature for the file.signatureAlgorithm(String signatureAlgorithm) The signature algorithm used to code sign the file.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
-
signature
The signature for the file.
- Parameters:
signature- The signature for the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signature
The signature for the file.
This is a convenience method that creates an instance of theCodeSigningSignature.Builderavoiding the need to create one manually viaCodeSigningSignature.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosignature(CodeSigningSignature).- Parameters:
signature- a consumer that will call methods onCodeSigningSignature.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateChain
The certificate chain.
- Parameters:
certificateChain- The certificate chain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateChain
default CustomCodeSigning.Builder certificateChain(Consumer<CodeSigningCertificateChain.Builder> certificateChain) The certificate chain.
This is a convenience method that creates an instance of theCodeSigningCertificateChain.Builderavoiding the need to create one manually viaCodeSigningCertificateChain.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificateChain(CodeSigningCertificateChain).- Parameters:
certificateChain- a consumer that will call methods onCodeSigningCertificateChain.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hashAlgorithm
The hash algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses
SHA256orSHA1, so you can pass either of them based on which was used for generating the signature.- Parameters:
hashAlgorithm- The hash algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS usesSHA256orSHA1, so you can pass either of them based on which was used for generating the signature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signatureAlgorithm
The signature algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses
ECDSAorRSA, so you can pass either of them based on which was used for generating the signature.- Parameters:
signatureAlgorithm- The signature algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS usesECDSAorRSA, so you can pass either of them based on which was used for generating the signature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-