Interface RuleDeclaration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleDeclaration.Builder,
,RuleDeclaration> SdkBuilder<RuleDeclaration.Builder,
,RuleDeclaration> SdkPojo
- Enclosing class:
RuleDeclaration
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Map<String, String> configuration) The action configuration fields for the rule.inputArtifacts
(Collection<InputArtifact> inputArtifacts) The input artifacts fields for the rule, such as specifying an input file for the rule.inputArtifacts
(Consumer<InputArtifact.Builder>... inputArtifacts) The input artifacts fields for the rule, such as specifying an input file for the rule.inputArtifacts
(InputArtifact... inputArtifacts) The input artifacts fields for the rule, such as specifying an input file for the rule.The name of the rule that is created for the condition, such as CheckAllResults.The Region for the condition associated with the rule.The pipeline role ARN associated with the rule.default RuleDeclaration.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.ruleTypeId
(RuleTypeId ruleTypeId) The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.timeoutInMinutes
(Integer timeoutInMinutes) The action timeout for the rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 theRuleTypeId.Builder
avoiding the need to create one manually viaRuleTypeId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruleTypeId(RuleTypeId)
.- Parameters:
ruleTypeId
- a consumer that will call methods onRuleTypeId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
The input artifacts fields for the rule, such as specifying an input file for the rule.
This is a convenience method that creates an instance of theInputArtifact.Builder
avoiding the need to create one manually viaInputArtifact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputArtifacts(List<InputArtifact>)
.- Parameters:
inputArtifacts
- a consumer that will call methods onInputArtifact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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.
-