Interface RuleDeclaration.Builder

    • Method Detail

      • name

        RuleDeclaration.Builder name​(String name)

        The name of the rule that is created for the condition, such as CheckAllResults.

        Parameters:
        name - The name of the rule that is created for the condition, such as CheckAllResults.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ruleTypeId

        RuleDeclaration.Builder ruleTypeId​(RuleTypeId ruleTypeId)

        The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.

        Parameters:
        ruleTypeId - The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuration

        RuleDeclaration.Builder configuration​(Map<String,​String> configuration)

        The action configuration fields for the rule.

        Parameters:
        configuration - The action configuration fields for the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputArtifacts

        RuleDeclaration.Builder inputArtifacts​(Collection<InputArtifact> inputArtifacts)

        The input artifacts fields for the rule, such as specifying an input file for the rule.

        Parameters:
        inputArtifacts - The input artifacts fields for the rule, such as specifying an input file for the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputArtifacts

        RuleDeclaration.Builder inputArtifacts​(InputArtifact... inputArtifacts)

        The input artifacts fields for the rule, such as specifying an input file for the rule.

        Parameters:
        inputArtifacts - The input artifacts fields for the rule, such as specifying an input file for the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        RuleDeclaration.Builder roleArn​(String roleArn)

        The pipeline role ARN associated with the rule.

        Parameters:
        roleArn - The pipeline role ARN associated with the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • region

        RuleDeclaration.Builder region​(String region)

        The Region for the condition associated with the rule.

        Parameters:
        region - The Region for the condition associated with the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeoutInMinutes

        RuleDeclaration.Builder timeoutInMinutes​(Integer timeoutInMinutes)

        The action timeout for the rule.

        Parameters:
        timeoutInMinutes - The action timeout for the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.