Class CfnProject.Builder

java.lang.Object
software.amazon.awscdk.services.evidently.CfnProject.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProject>
Enclosing class:
CfnProject

@Stability(Stable) public static final class CfnProject.Builder extends Object implements software.amazon.jsii.Builder<CfnProject>
A fluent builder for CfnProject.
  • Method Details

    • create

      @Stability(Stable) public static CfnProject.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnProject.Builder.
    • name

      @Stability(Stable) public CfnProject.Builder name(String name)
      The name for the project.

      It can include up to 127 characters.

      Parameters:
      name - The name for the project. This parameter is required.
      Returns:
      this
    • appConfigResource

      @Stability(Stable) public CfnProject.Builder appConfigResource(IResolvable appConfigResource)
      Use this parameter if the project will use client-side evaluation powered by AWS AppConfig .

      Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature operation. This mitigates the latency and availability risks that come with an API call. For more information, see Use client-side evaluation - powered by AWS AppConfig .

      This parameter is a structure that contains information about the AWS AppConfig application that will be used as for client-side evaluation.

      To create a project that uses client-side evaluation, you must have the evidently:ExportProjectAsConfiguration permission.

      Parameters:
      appConfigResource - Use this parameter if the project will use client-side evaluation powered by AWS AppConfig . This parameter is required.
      Returns:
      this
    • appConfigResource

      @Stability(Stable) public CfnProject.Builder appConfigResource(CfnProject.AppConfigResourceObjectProperty appConfigResource)
      Use this parameter if the project will use client-side evaluation powered by AWS AppConfig .

      Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature operation. This mitigates the latency and availability risks that come with an API call. For more information, see Use client-side evaluation - powered by AWS AppConfig .

      This parameter is a structure that contains information about the AWS AppConfig application that will be used as for client-side evaluation.

      To create a project that uses client-side evaluation, you must have the evidently:ExportProjectAsConfiguration permission.

      Parameters:
      appConfigResource - Use this parameter if the project will use client-side evaluation powered by AWS AppConfig . This parameter is required.
      Returns:
      this
    • dataDelivery

      @Stability(Stable) public CfnProject.Builder dataDelivery(IResolvable dataDelivery)
      A structure that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so.

      If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view.

      You can't specify both CloudWatchLogs and S3Destination in the same operation.

      Parameters:
      dataDelivery - A structure that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. This parameter is required.
      Returns:
      this
    • dataDelivery

      @Stability(Stable) public CfnProject.Builder dataDelivery(CfnProject.DataDeliveryObjectProperty dataDelivery)
      A structure that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so.

      If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view.

      You can't specify both CloudWatchLogs and S3Destination in the same operation.

      Parameters:
      dataDelivery - A structure that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnProject.Builder description(String description)
      An optional description of the project.

      Parameters:
      description - An optional description of the project. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnProject.Builder tags(List<? extends CfnTag> tags)
      Assigns one or more tags (key-value pairs) to the project.

      Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

      Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.

      You can associate as many as 50 tags with a project.

      For more information, see Tagging AWS resources .

      Parameters:
      tags - Assigns one or more tags (key-value pairs) to the project. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnProject build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnProject>
      Returns:
      a newly built instance of CfnProject.