Class ServerCertificateState.Builder

  • Enclosing class:
    ServerCertificateState

    public static final class ServerCertificateState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public ServerCertificateState.Builder arn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The Amazon Resource Name (ARN) specifying the server certificate.
        Returns:
        builder
      • arn

        public ServerCertificateState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The Amazon Resource Name (ARN) specifying the server certificate.
        Returns:
        builder
      • certificateBody

        public ServerCertificateState.Builder certificateBody​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> certificateBody)
        Parameters:
        certificateBody - The contents of the public key certificate in PEM-encoded format.
        Returns:
        builder
      • certificateBody

        public ServerCertificateState.Builder certificateBody​(java.lang.String certificateBody)
        Parameters:
        certificateBody - The contents of the public key certificate in PEM-encoded format.
        Returns:
        builder
      • certificateChain

        public ServerCertificateState.Builder certificateChain​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> certificateChain)
        Parameters:
        certificateChain - The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.
        Returns:
        builder
      • certificateChain

        public ServerCertificateState.Builder certificateChain​(java.lang.String certificateChain)
        Parameters:
        certificateChain - The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.
        Returns:
        builder
      • expiration

        public ServerCertificateState.Builder expiration​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> expiration)
        Parameters:
        expiration - Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) on which the certificate is set to expire.
        Returns:
        builder
      • expiration

        public ServerCertificateState.Builder expiration​(java.lang.String expiration)
        Parameters:
        expiration - Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) on which the certificate is set to expire.
        Returns:
        builder
      • name

        public ServerCertificateState.Builder name​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the Server Certificate. Do not include the path in this value. If omitted, the provider will assign a random, unique name.
        Returns:
        builder
      • name

        public ServerCertificateState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the Server Certificate. Do not include the path in this value. If omitted, the provider will assign a random, unique name.
        Returns:
        builder
      • namePrefix

        public ServerCertificateState.Builder namePrefix​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public ServerCertificateState.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • path

        public ServerCertificateState.Builder path​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> path)
        Parameters:
        path - The IAM path for the server certificate. If it is not included, it defaults to a slash (/). If this certificate is for use with AWS CloudFront, the path must be in format `/cloudfront/your_path_here`. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more details on IAM Paths.
        Returns:
        builder
      • path

        public ServerCertificateState.Builder path​(java.lang.String path)
        Parameters:
        path - The IAM path for the server certificate. If it is not included, it defaults to a slash (/). If this certificate is for use with AWS CloudFront, the path must be in format `/cloudfront/your_path_here`. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more details on IAM Paths.
        Returns:
        builder
      • privateKey

        public ServerCertificateState.Builder privateKey​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> privateKey)
        Parameters:
        privateKey - The contents of the private key in PEM-encoded format.
        Returns:
        builder
      • privateKey

        public ServerCertificateState.Builder privateKey​(java.lang.String privateKey)
        Parameters:
        privateKey - The contents of the private key in PEM-encoded format.
        Returns:
        builder
      • tags

        public ServerCertificateState.Builder tags​(@Nullable
                                                   com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of resource tags for the server certificate. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **NOTE:** AWS performs behind-the-scenes modifications to some certificate files if they do not adhere to a specific format. These modifications will result in this provider forever believing that it needs to update the resources since the local and AWS file contents will not match after theses modifications occur. In order to prevent this from happening you must ensure that all your PEM-encoded files use UNIX line-breaks and that `certificate_body` contains only one certificate. All other certificates should go in `certificate_chain`. It is common for some Certificate Authorities to issue certificate files that have DOS line-breaks and that are actually multiple certificates concatenated together in order to form a full certificate chain.
        Returns:
        builder
      • tags

        public ServerCertificateState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of resource tags for the server certificate. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **NOTE:** AWS performs behind-the-scenes modifications to some certificate files if they do not adhere to a specific format. These modifications will result in this provider forever believing that it needs to update the resources since the local and AWS file contents will not match after theses modifications occur. In order to prevent this from happening you must ensure that all your PEM-encoded files use UNIX line-breaks and that `certificate_body` contains only one certificate. All other certificates should go in `certificate_chain`. It is common for some Certificate Authorities to issue certificate files that have DOS line-breaks and that are actually multiple certificates concatenated together in order to form a full certificate chain.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public ServerCertificateState.Builder tagsAll​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public ServerCertificateState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • uploadDate

        public ServerCertificateState.Builder uploadDate​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> uploadDate)
        Parameters:
        uploadDate - Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) when the server certificate was uploaded.
        Returns:
        builder
      • uploadDate

        public ServerCertificateState.Builder uploadDate​(java.lang.String uploadDate)
        Parameters:
        uploadDate - Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) when the server certificate was uploaded.
        Returns:
        builder