Interface RuleExecutionInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleExecutionInput.Builder,RuleExecutionInput>,SdkBuilder<RuleExecutionInput.Builder,RuleExecutionInput>,SdkPojo
- Enclosing class:
- RuleExecutionInput
public static interface RuleExecutionInput.Builder extends SdkPojo, CopyableBuilder<RuleExecutionInput.Builder,RuleExecutionInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RuleExecutionInput.Builderconfiguration(Map<String,String> configuration)Configuration data for a rule execution, such as the resolved values for that run.RuleExecutionInput.BuilderinputArtifacts(Collection<ArtifactDetail> inputArtifacts)Details of input artifacts of the rule that correspond to the rule execution.RuleExecutionInput.BuilderinputArtifacts(Consumer<ArtifactDetail.Builder>... inputArtifacts)Details of input artifacts of the rule that correspond to the rule execution.RuleExecutionInput.BuilderinputArtifacts(ArtifactDetail... inputArtifacts)Details of input artifacts of the rule that correspond to the rule execution.RuleExecutionInput.Builderregion(String region)The Amazon Web Services Region for the rule, such as us-east-1.RuleExecutionInput.BuilderresolvedConfiguration(Map<String,String> resolvedConfiguration)Configuration data for a rule execution with all variable references replaced with their real values for the execution.RuleExecutionInput.BuilderroleArn(String roleArn)The ARN of the IAM service role that performs the declared rule.default RuleExecutionInput.BuilderruleTypeId(Consumer<RuleTypeId.Builder> ruleTypeId)The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.RuleExecutionInput.BuilderruleTypeId(RuleTypeId ruleTypeId)The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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 theRuleTypeId.Builderavoiding the need to create one manually viaRuleTypeId.builder().When the
Consumercompletes,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:
ruleTypeId(RuleTypeId)
-
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
RuleExecutionInput.Builder roleArn(String 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
RuleExecutionInput.Builder region(String 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 theArtifactDetail.Builderavoiding the need to create one manually viaArtifactDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputArtifacts(List.) - Parameters:
inputArtifacts- a consumer that will call methods onArtifactDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#inputArtifacts(java.util.Collection)
-
-