Interface RuleExecutionInput.Builder

  • Method Details

    • ruleTypeId

      RuleExecutionInput.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.
    • ruleTypeId

      default RuleExecutionInput.Builder ruleTypeId(Consumer<RuleTypeId.Builder> ruleTypeId)

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ruleTypeId(RuleTypeId).

      Parameters:
      ruleTypeId - a consumer that will call methods on RuleTypeId.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • configuration

      RuleExecutionInput.Builder configuration(Map<String,String> configuration)

      Configuration data for a rule execution, such as the resolved values for that run.

      Parameters:
      configuration - Configuration data for a rule execution, such as the resolved values for that run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolvedConfiguration

      RuleExecutionInput.Builder resolvedConfiguration(Map<String,String> resolvedConfiguration)

      Configuration data for a rule execution with all variable references replaced with their real values for the execution.

      Parameters:
      resolvedConfiguration - Configuration data for a rule execution with all variable references replaced with their real values for the execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      The ARN of the IAM service role that performs the declared rule. This is assumed through the roleArn for the pipeline.

      Parameters:
      roleArn - The ARN of the IAM service role that performs the declared rule. This is assumed through the roleArn for the pipeline.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      The Amazon Web Services Region for the rule, such as us-east-1.

      Parameters:
      region - The Amazon Web Services Region for the rule, such as us-east-1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputArtifacts

      RuleExecutionInput.Builder inputArtifacts(Collection<ArtifactDetail> inputArtifacts)

      Details of input artifacts of the rule that correspond to the rule execution.

      Parameters:
      inputArtifacts - Details of input artifacts of the rule that correspond to the rule execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputArtifacts

      RuleExecutionInput.Builder inputArtifacts(ArtifactDetail... inputArtifacts)

      Details of input artifacts of the rule that correspond to the rule execution.

      Parameters:
      inputArtifacts - Details of input artifacts of the rule that correspond to the rule execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputArtifacts

      RuleExecutionInput.Builder inputArtifacts(Consumer<ArtifactDetail.Builder>... inputArtifacts)

      Details of input artifacts of the rule that correspond to the rule execution.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inputArtifacts(List<ArtifactDetail>).

      Parameters:
      inputArtifacts - a consumer that will call methods on ArtifactDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: