JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codepipeline.model

Class RuleDeclaration

    • Constructor Detail

      • RuleDeclaration

        public RuleDeclaration()
    • Method Detail

      • setName

        public void setName(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.
      • getName

        public String getName()

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

        Returns:
        The name of the rule that is created for the condition, such as CheckAllResults.
      • withName

        public RuleDeclaration withName(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.
      • setRuleTypeId

        public void setRuleTypeId(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.
      • getRuleTypeId

        public RuleTypeId getRuleTypeId()

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

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

        public RuleDeclaration withRuleTypeId(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.
      • getConfiguration

        public Map<String,String> getConfiguration()

        The action configuration fields for the rule.

        Returns:
        The action configuration fields for the rule.
      • setConfiguration

        public void setConfiguration(Map<String,String> configuration)

        The action configuration fields for the rule.

        Parameters:
        configuration - The action configuration fields for the rule.
      • withConfiguration

        public RuleDeclaration withConfiguration(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.
      • clearConfigurationEntries

        public RuleDeclaration clearConfigurationEntries()
        Removes all the entries added into Configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getInputArtifacts

        public List<InputArtifact> getInputArtifacts()

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

        Returns:
        The input artifacts fields for the rule, such as specifying an input file for the rule.
      • setInputArtifacts

        public void setInputArtifacts(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.
      • withInputArtifacts

        public RuleDeclaration withInputArtifacts(InputArtifact... inputArtifacts)

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

        NOTE: This method appends the values to the existing list (if any). Use setInputArtifacts(java.util.Collection) or withInputArtifacts(java.util.Collection) if you want to override the existing values.

        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.
      • withInputArtifacts

        public RuleDeclaration withInputArtifacts(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.
      • setRoleArn

        public void setRoleArn(String roleArn)

        The pipeline role ARN associated with the rule.

        Parameters:
        roleArn - The pipeline role ARN associated with the rule.
      • getRoleArn

        public String getRoleArn()

        The pipeline role ARN associated with the rule.

        Returns:
        The pipeline role ARN associated with the rule.
      • withRoleArn

        public RuleDeclaration withRoleArn(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.
      • setRegion

        public void setRegion(String region)

        The Region for the condition associated with the rule.

        Parameters:
        region - The Region for the condition associated with the rule.
      • getRegion

        public String getRegion()

        The Region for the condition associated with the rule.

        Returns:
        The Region for the condition associated with the rule.
      • withRegion

        public RuleDeclaration withRegion(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.
      • setTimeoutInMinutes

        public void setTimeoutInMinutes(Integer timeoutInMinutes)

        The action timeout for the rule.

        Parameters:
        timeoutInMinutes - The action timeout for the rule.
      • getTimeoutInMinutes

        public Integer getTimeoutInMinutes()

        The action timeout for the rule.

        Returns:
        The action timeout for the rule.
      • withTimeoutInMinutes

        public RuleDeclaration withTimeoutInMinutes(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /