Interface CreateRulesetRequest.Builder

    • Method Detail

      • name

        CreateRulesetRequest.Builder name​(String name)

        The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

        Parameters:
        name - The name of the ruleset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateRulesetRequest.Builder description​(String description)

        The description of the ruleset.

        Parameters:
        description - The description of the ruleset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetArn

        CreateRulesetRequest.Builder targetArn​(String targetArn)

        The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.

        Parameters:
        targetArn - The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        CreateRulesetRequest.Builder rules​(Collection<Rule> rules)

        A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.

        Parameters:
        rules - A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        CreateRulesetRequest.Builder rules​(Rule... rules)

        A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.

        Parameters:
        rules - A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        CreateRulesetRequest.Builder rules​(Consumer<Rule.Builder>... rules)

        A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.

        This is a convenience method that creates an instance of the Rule.Builder avoiding the need to create one manually via Rule.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #rules(List).

        Parameters:
        rules - a consumer that will call methods on Rule.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #rules(java.util.Collection)
      • tags

        CreateRulesetRequest.Builder tags​(Map<String,​String> tags)

        Metadata tags to apply to the ruleset.

        Parameters:
        tags - Metadata tags to apply to the ruleset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.