Class PublicKeyState.Builder

  • Enclosing class:
    PublicKeyState

    public static final class PublicKeyState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • callerReference

        public PublicKeyState.Builder callerReference​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> callerReference)
        Parameters:
        callerReference - Internal value used by CloudFront to allow future updates to the public key configuration.
        Returns:
        builder
      • callerReference

        public PublicKeyState.Builder callerReference​(java.lang.String callerReference)
        Parameters:
        callerReference - Internal value used by CloudFront to allow future updates to the public key configuration.
        Returns:
        builder
      • comment

        public PublicKeyState.Builder comment​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> comment)
        Parameters:
        comment - An optional comment about the public key.
        Returns:
        builder
      • comment

        public PublicKeyState.Builder comment​(java.lang.String comment)
        Parameters:
        comment - An optional comment about the public key.
        Returns:
        builder
      • encodedKey

        public PublicKeyState.Builder encodedKey​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> encodedKey)
        Parameters:
        encodedKey - The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
        Returns:
        builder
      • encodedKey

        public PublicKeyState.Builder encodedKey​(java.lang.String encodedKey)
        Parameters:
        encodedKey - The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
        Returns:
        builder
      • etag

        public PublicKeyState.Builder etag​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> etag)
        Parameters:
        etag - The current version of the public key. For example: `E2QWRUHAPOMQZL`.
        Returns:
        builder
      • etag

        public PublicKeyState.Builder etag​(java.lang.String etag)
        Parameters:
        etag - The current version of the public key. For example: `E2QWRUHAPOMQZL`.
        Returns:
        builder
      • name

        public PublicKeyState.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. Instead, it is recommended to use Pulumi autonaming by leaving this property unset (default behavior) or set the `namePrefix` property to allow the provider to autoname the resource.
        Returns:
        builder
      • name

        public PublicKeyState.Builder name​(java.lang.String name)
        Parameters:
        name - The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. Instead, it is recommended to use Pulumi autonaming by leaving this property unset (default behavior) or set the `namePrefix` property to allow the provider to autoname the resource.
        Returns:
        builder
      • namePrefix

        public PublicKeyState.Builder namePrefix​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - The name for the public key. Conflicts with `name`. **NOTE:** When setting `encodedKey` value, there needs a newline at the end of string. Otherwise, multiple runs of pulumi will want to recreate the `aws.cloudfront.PublicKey` resource.
        Returns:
        builder
      • namePrefix

        public PublicKeyState.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - The name for the public key. Conflicts with `name`. **NOTE:** When setting `encodedKey` value, there needs a newline at the end of string. Otherwise, multiple runs of pulumi will want to recreate the `aws.cloudfront.PublicKey` resource.
        Returns:
        builder