Interface ServerCertificateConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServerCertificateConfig.Builder,ServerCertificateConfig>,SdkBuilder<ServerCertificateConfig.Builder,ServerCertificateConfig>,SdkPojo
- Enclosing class:
- ServerCertificateConfig
public static interface ServerCertificateConfig.Builder extends SdkPojo, CopyableBuilder<ServerCertificateConfig.Builder,ServerCertificateConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerCertificateConfig.BuilderenableOCSPCheck(Boolean enableOCSPCheck)A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.ServerCertificateConfig.BuilderocspAuthorizedResponderArn(String ocspAuthorizedResponderArn)The Amazon Resource Name (ARN) for an X.509 certificate stored in Amazon Web Services Certificate Manager (ACM).ServerCertificateConfig.BuilderocspLambdaArn(String ocspLambdaArn)The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic OCSP responses.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
enableOCSPCheck
ServerCertificateConfig.Builder enableOCSPCheck(Boolean enableOCSPCheck)
A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.
For more information, see Server certificate configuration for OCSP stapling from Amazon Web Services IoT Core Developer Guide.
- Parameters:
enableOCSPCheck- A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.For more information, see Server certificate configuration for OCSP stapling from Amazon Web Services IoT Core Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ocspLambdaArn
ServerCertificateConfig.Builder ocspLambdaArn(String ocspLambdaArn)
The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic OCSP responses. The Lambda function accepts a base64-encoding of the OCSP request in the Distinguished Encoding Rules (DER) format. The Lambda function's response is also a base64-encoded OCSP response in the DER format. The response size must not exceed 4 kilobytes (KiB). The Lambda function must be in the same Amazon Web Services account and region as the domain configuration. For more information, see Configuring server certificate OCSP for private endpoints in Amazon Web Services IoT Core from the Amazon Web Services IoT Core developer guide.
- Parameters:
ocspLambdaArn- The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic OCSP responses. The Lambda function accepts a base64-encoding of the OCSP request in the Distinguished Encoding Rules (DER) format. The Lambda function's response is also a base64-encoded OCSP response in the DER format. The response size must not exceed 4 kilobytes (KiB). The Lambda function must be in the same Amazon Web Services account and region as the domain configuration. For more information, see Configuring server certificate OCSP for private endpoints in Amazon Web Services IoT Core from the Amazon Web Services IoT Core developer guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ocspAuthorizedResponderArn
ServerCertificateConfig.Builder ocspAuthorizedResponderArn(String ocspAuthorizedResponderArn)
The Amazon Resource Name (ARN) for an X.509 certificate stored in Amazon Web Services Certificate Manager (ACM). If provided, Amazon Web Services IoT Core will use this certificate to validate the signature of the received OCSP response. The OCSP responder must sign responses using either this authorized responder certificate or the issuing certificate, depending on whether the ARN is provided or not. The certificate must be in the same Amazon Web Services account and region as the domain configuration.
- Parameters:
ocspAuthorizedResponderArn- The Amazon Resource Name (ARN) for an X.509 certificate stored in Amazon Web Services Certificate Manager (ACM). If provided, Amazon Web Services IoT Core will use this certificate to validate the signature of the received OCSP response. The OCSP responder must sign responses using either this authorized responder certificate or the issuing certificate, depending on whether the ARN is provided or not. The certificate must be in the same Amazon Web Services account and region as the domain configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-