Interface CustomCodeSigning.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomCodeSigning.Builder,
,CustomCodeSigning> SdkBuilder<CustomCodeSigning.Builder,
,CustomCodeSigning> SdkPojo
- Enclosing class:
CustomCodeSigning
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomCodeSigning.Builder
certificateChain
(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.Builder
signature
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builder
avoiding the need to create one manually viaCodeSigningSignature.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaCodeSigningCertificateChain.builder()
.When the
Consumer
completes,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
SHA256
orSHA1
, 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 usesSHA256
orSHA1
, 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
ECDSA
orRSA
, 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 usesECDSA
orRSA
, 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.
-