Interface ListedCertificate.Builder

    • Method Detail

      • arn

        ListedCertificate.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the specified certificate.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the specified certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateId

        ListedCertificate.Builder certificateId​(String certificateId)

        An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.

        Parameters:
        certificateId - An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usage

        ListedCertificate.Builder usage​(String usage)

        Specifies how this certificate is used. It can be used in the following ways:

        • SIGNING: For signing AS2 messages

        • ENCRYPTION: For encrypting AS2 messages

        • TLS: For securing AS2 communications sent over HTTPS

        Parameters:
        usage - Specifies how this certificate is used. It can be used in the following ways:

        • SIGNING: For signing AS2 messages

        • ENCRYPTION: For encrypting AS2 messages

        • TLS: For securing AS2 communications sent over HTTPS

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateUsageType, CertificateUsageType
      • usage

        ListedCertificate.Builder usage​(CertificateUsageType usage)

        Specifies how this certificate is used. It can be used in the following ways:

        • SIGNING: For signing AS2 messages

        • ENCRYPTION: For encrypting AS2 messages

        • TLS: For securing AS2 communications sent over HTTPS

        Parameters:
        usage - Specifies how this certificate is used. It can be used in the following ways:

        • SIGNING: For signing AS2 messages

        • ENCRYPTION: For encrypting AS2 messages

        • TLS: For securing AS2 communications sent over HTTPS

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateUsageType, CertificateUsageType
      • status

        ListedCertificate.Builder status​(String status)

        The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE. PENDING_ROTATION means that this certificate will replace the current certificate when it expires.

        Parameters:
        status - The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE. PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateStatusType, CertificateStatusType
      • status

        ListedCertificate.Builder status​(CertificateStatusType status)

        The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE. PENDING_ROTATION means that this certificate will replace the current certificate when it expires.

        Parameters:
        status - The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE. PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateStatusType, CertificateStatusType
      • activeDate

        ListedCertificate.Builder activeDate​(Instant activeDate)

        An optional date that specifies when the certificate becomes active.

        Parameters:
        activeDate - An optional date that specifies when the certificate becomes active.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inactiveDate

        ListedCertificate.Builder inactiveDate​(Instant inactiveDate)

        An optional date that specifies when the certificate becomes inactive.

        Parameters:
        inactiveDate - An optional date that specifies when the certificate becomes inactive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        ListedCertificate.Builder type​(String type)

        The type for the certificate. If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.

        Parameters:
        type - The type for the certificate. If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateType, CertificateType
      • type

        ListedCertificate.Builder type​(CertificateType type)

        The type for the certificate. If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.

        Parameters:
        type - The type for the certificate. If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateType, CertificateType
      • description

        ListedCertificate.Builder description​(String description)

        The name or short description that's used to identify the certificate.

        Parameters:
        description - The name or short description that's used to identify the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.