Interface Certificate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Certificate.Builder,Certificate>,SdkBuilder<Certificate.Builder,Certificate>,SdkPojo
- Enclosing class:
- Certificate
public static interface Certificate.Builder extends SdkPojo, CopyableBuilder<Certificate.Builder,Certificate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Certificate.BuildercertificateArn(String certificateArn)The ARN of the certificate.Certificate.BuildercertificateId(String certificateId)The ID of the certificate.Certificate.BuildercertificateMode(String certificateMode)The mode of the certificate.Certificate.BuildercertificateMode(CertificateMode certificateMode)The mode of the certificate.Certificate.BuildercreationDate(Instant creationDate)The date and time the certificate was created.Certificate.Builderstatus(String status)The status of the certificate.Certificate.Builderstatus(CertificateStatus status)The status of the certificate.-
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
-
certificateArn
Certificate.Builder certificateArn(String certificateArn)
The ARN of the certificate.
- Parameters:
certificateArn- The ARN of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateId
Certificate.Builder certificateId(String certificateId)
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
- Parameters:
certificateId- The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Certificate.Builder status(String status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
- Parameters:
status- The status of the certificate.The status value REGISTER_INACTIVE is deprecated and should not be used.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateStatus,CertificateStatus
-
status
Certificate.Builder status(CertificateStatus status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
- Parameters:
status- The status of the certificate.The status value REGISTER_INACTIVE is deprecated and should not be used.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateStatus,CertificateStatus
-
certificateMode
Certificate.Builder certificateMode(String certificateMode)
The mode of the certificate.
DEFAULT: A certificate inDEFAULTmode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULTmode. Devices with certificates inDEFAULTmode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.SNI_ONLY: A certificate inSNI_ONLYmode is registered without an issuer CA. Devices with certificates inSNI_ONLYmode must send the SNI extension when connecting to Amazon Web Services IoT Core.- Parameters:
certificateMode- The mode of the certificate.DEFAULT: A certificate inDEFAULTmode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULTmode. Devices with certificates inDEFAULTmode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.SNI_ONLY: A certificate inSNI_ONLYmode is registered without an issuer CA. Devices with certificates inSNI_ONLYmode must send the SNI extension when connecting to Amazon Web Services IoT Core.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateMode,CertificateMode
-
certificateMode
Certificate.Builder certificateMode(CertificateMode certificateMode)
The mode of the certificate.
DEFAULT: A certificate inDEFAULTmode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULTmode. Devices with certificates inDEFAULTmode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.SNI_ONLY: A certificate inSNI_ONLYmode is registered without an issuer CA. Devices with certificates inSNI_ONLYmode must send the SNI extension when connecting to Amazon Web Services IoT Core.- Parameters:
certificateMode- The mode of the certificate.DEFAULT: A certificate inDEFAULTmode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULTmode. Devices with certificates inDEFAULTmode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.SNI_ONLY: A certificate inSNI_ONLYmode is registered without an issuer CA. Devices with certificates inSNI_ONLYmode must send the SNI extension when connecting to Amazon Web Services IoT Core.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateMode,CertificateMode
-
creationDate
Certificate.Builder creationDate(Instant creationDate)
The date and time the certificate was created.
- Parameters:
creationDate- The date and time the certificate was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-