Interface ServerCertificate.Builder

    • Method Detail

      • serverCertificateMetadata

        ServerCertificate.Builder serverCertificateMetadata​(ServerCertificateMetadata serverCertificateMetadata)

        The meta information of the server certificate, such as its name, path, ID, and ARN.

        Parameters:
        serverCertificateMetadata - The meta information of the server certificate, such as its name, path, ID, and ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateBody

        ServerCertificate.Builder certificateBody​(String certificateBody)

        The contents of the public key certificate.

        Parameters:
        certificateBody - The contents of the public key certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateChain

        ServerCertificate.Builder certificateChain​(String certificateChain)

        The contents of the public key certificate chain.

        Parameters:
        certificateChain - The contents of the public key certificate chain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        Parameters:
        tags - A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ServerCertificate.Builder tags​(Tag... tags)

        A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        Parameters:
        tags - A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        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)