Class AgentFlowArgs.Builder

  • Enclosing class:
    AgentFlowArgs

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

      • Builder

        public Builder()
    • Method Detail

      • customerEncryptionKeyArn

        public AgentFlowArgs.Builder customerEncryptionKeyArn​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> customerEncryptionKeyArn)
        Parameters:
        customerEncryptionKeyArn - ARN of the KMS key to encrypt the flow.
        Returns:
        builder
      • customerEncryptionKeyArn

        public AgentFlowArgs.Builder customerEncryptionKeyArn​(java.lang.String customerEncryptionKeyArn)
        Parameters:
        customerEncryptionKeyArn - ARN of the KMS key to encrypt the flow.
        Returns:
        builder
      • definition

        public AgentFlowArgs.Builder definition​(@Nullable
                                                com.pulumi.core.Output<AgentFlowDefinitionArgs> definition)
        Parameters:
        definition - Nodes and connections between nodes in the flow. See `definition` Block for details.
        Returns:
        builder
      • definition

        public AgentFlowArgs.Builder definition​(AgentFlowDefinitionArgs definition)
        Parameters:
        definition - Nodes and connections between nodes in the flow. See `definition` Block for details.
        Returns:
        builder
      • description

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

        public AgentFlowArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description for the flow.
        Returns:
        builder
      • executionRoleArn

        public AgentFlowArgs.Builder executionRoleArn​(com.pulumi.core.Output<java.lang.String> executionRoleArn)
        Parameters:
        executionRoleArn - ARN of the service role with permissions to create and manage a flow. For more information, see [Create a service role for flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide.
        Returns:
        builder
      • executionRoleArn

        public AgentFlowArgs.Builder executionRoleArn​(java.lang.String executionRoleArn)
        Parameters:
        executionRoleArn - ARN of the service role with permissions to create and manage a flow. For more information, see [Create a service role for flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide.
        Returns:
        builder
      • name

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

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

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