Interface CustomCodeSigning.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomCodeSigning.Builder,CustomCodeSigning>
,SdkBuilder<CustomCodeSigning.Builder,CustomCodeSigning>
,SdkPojo
- Enclosing class:
- CustomCodeSigning
public static interface CustomCodeSigning.Builder extends SdkPojo, CopyableBuilder<CustomCodeSigning.Builder,CustomCodeSigning>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CustomCodeSigning.Builder
certificateChain(Consumer<CodeSigningCertificateChain.Builder> certificateChain)
The certificate chain.CustomCodeSigning.Builder
certificateChain(CodeSigningCertificateChain certificateChain)
The certificate chain.CustomCodeSigning.Builder
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.CustomCodeSigning.Builder
signature(CodeSigningSignature signature)
The signature for the file.CustomCodeSigning.Builder
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 Detail
-
signature
CustomCodeSigning.Builder signature(CodeSigningSignature 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
default CustomCodeSigning.Builder signature(Consumer<CodeSigningSignature.Builder> 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:
signature(CodeSigningSignature)
-
certificateChain
CustomCodeSigning.Builder certificateChain(CodeSigningCertificateChain 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:
certificateChain(CodeSigningCertificateChain)
-
hashAlgorithm
CustomCodeSigning.Builder hashAlgorithm(String 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
CustomCodeSigning.Builder signatureAlgorithm(String 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.
-
-