Class ServerCertificateConfig
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.ServerCertificateConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServerCertificateConfig.Builder,ServerCertificateConfig>
@Generated("software.amazon.awssdk:codegen") public final class ServerCertificateConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerCertificateConfig.Builder,ServerCertificateConfig>
The server certificate configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServerCertificateConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerCertificateConfig.Builderbuilder()BooleanenableOCSPCheck()A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringocspAuthorizedResponderArn()The Amazon Resource Name (ARN) for an X.509 certificate stored in Amazon Web Services Certificate Manager (ACM).StringocspLambdaArn()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServerCertificateConfig.Builder>serializableBuilderClass()ServerCertificateConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enableOCSPCheck
public final 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.
- Returns:
- 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.
-
ocspLambdaArn
public final 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.
- Returns:
- 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.
-
ocspAuthorizedResponderArn
public final 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.
- Returns:
- 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.
-
toBuilder
public ServerCertificateConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServerCertificateConfig.Builder,ServerCertificateConfig>
-
builder
public static ServerCertificateConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServerCertificateConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-