Class AgentPromptArgs.Builder

  • Enclosing class:
    AgentPromptArgs

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

      • Builder

        public Builder()
    • Method Detail

      • customerEncryptionKeyArn

        public AgentPromptArgs.Builder customerEncryptionKeyArn​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> customerEncryptionKeyArn)
        Parameters:
        customerEncryptionKeyArn - ARN of the KMS key that you encrypted the prompt with.
        Returns:
        builder
      • customerEncryptionKeyArn

        public AgentPromptArgs.Builder customerEncryptionKeyArn​(java.lang.String customerEncryptionKeyArn)
        Parameters:
        customerEncryptionKeyArn - ARN of the KMS key that you encrypted the prompt with.
        Returns:
        builder
      • defaultVariant

        public AgentPromptArgs.Builder defaultVariant​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> defaultVariant)
        Parameters:
        defaultVariant - Name of the default variant for your prompt.
        Returns:
        builder
      • defaultVariant

        public AgentPromptArgs.Builder defaultVariant​(java.lang.String defaultVariant)
        Parameters:
        defaultVariant - Name of the default variant for your prompt.
        Returns:
        builder
      • description

        public AgentPromptArgs.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the prompt.
        Returns:
        builder
      • description

        public AgentPromptArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the prompt.
        Returns:
        builder
      • name

        public AgentPromptArgs.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the prompt. The following arguments are optional:
        Returns:
        builder
      • name

        public AgentPromptArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the prompt. The following arguments are optional:
        Returns:
        builder
      • region

        public AgentPromptArgs.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public AgentPromptArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public AgentPromptArgs.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public AgentPromptArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • variants

        public AgentPromptArgs.Builder variants​(@Nullable
                                                com.pulumi.core.Output<java.util.List<AgentPromptVariantArgs>> variants)
        Parameters:
        variants - List of objects, each containing details about a variant of the prompt. See `variant` Block for more information.
        Returns:
        builder
      • variants

        public AgentPromptArgs.Builder variants​(java.util.List<AgentPromptVariantArgs> variants)
        Parameters:
        variants - List of objects, each containing details about a variant of the prompt. See `variant` Block for more information.
        Returns:
        builder
      • variants

        public AgentPromptArgs.Builder variants​(AgentPromptVariantArgs... variants)
        Parameters:
        variants - List of objects, each containing details about a variant of the prompt. See `variant` Block for more information.
        Returns:
        builder