Class TargetBranchConfiguration

java.lang.Object
com.azure.resourcemanager.securitydevops.models.TargetBranchConfiguration

public final class TargetBranchConfiguration extends Object
Branch onboarding info.
  • Constructor Details

    • TargetBranchConfiguration

      public TargetBranchConfiguration()
      Creates an instance of TargetBranchConfiguration class.
  • Method Details

    • names

      public List<String> names()
      Get the names property: Gets or sets branches that should have annotations.

      For Ignite, we will be supporting a single default branch configuration in the UX.

      Returns:
      the names value.
    • withNames

      public TargetBranchConfiguration withNames(List<String> names)
      Set the names property: Gets or sets branches that should have annotations.

      For Ignite, we will be supporting a single default branch configuration in the UX.

      Parameters:
      names - the names value to set.
      Returns:
      the TargetBranchConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.