Class PublicKeyArgs.Builder

  • Enclosing class:
    PublicKeyArgs

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

      • Builder

        public Builder()
    • Method Detail

      • comment

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

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

        public PublicKeyArgs.Builder encodedKey​(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 PublicKeyArgs.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
      • name

        public PublicKeyArgs.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 PublicKeyArgs.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 PublicKeyArgs.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 PublicKeyArgs.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