Interface ImportCertificateRequest.Builder

    • Method Detail

      • certificate

        ImportCertificateRequest.Builder certificate​(SdkBytes certificate)

        The certificate to import.

        Parameters:
        certificate - The certificate to import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateKey

        ImportCertificateRequest.Builder privateKey​(SdkBytes privateKey)

        The private key that matches the public key in the certificate.

        Parameters:
        privateKey - The private key that matches the public key in the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateChain

        ImportCertificateRequest.Builder certificateChain​(SdkBytes certificateChain)

        The PEM encoded certificate chain.

        Parameters:
        certificateChain - The PEM encoded certificate chain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ImportCertificateRequest.Builder tags​(Collection<Tag> tags)

        One or more resource tags to associate with the imported certificate.

        Note: You cannot apply tags when reimporting a certificate.

        Parameters:
        tags - One or more resource tags to associate with the imported certificate.

        Note: You cannot apply tags when reimporting a certificate.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ImportCertificateRequest.Builder tags​(Tag... tags)

        One or more resource tags to associate with the imported certificate.

        Note: You cannot apply tags when reimporting a certificate.

        Parameters:
        tags - One or more resource tags to associate with the imported certificate.

        Note: You cannot apply tags when reimporting a certificate.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ImportCertificateRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        One or more resource tags to associate with the imported certificate.

        Note: You cannot apply tags when reimporting a certificate.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)