AnnotateDefaultBranchState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. AnnotateDefaultBranchState
- com.
- com.
public final class AnnotateDefaultBranchState
extends ExpandableStringEnum<AnnotateDefaultBranchState>
Configuration of PR Annotations on default branch. Enabled - PR Annotations are enabled on the resource's default branch. Disabled - PR Annotations are disabled on the resource's default branch.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Annotate |
DISABLED
Disabled. |
|
static final
Annotate |
ENABLED
Enabled. |
Constructor Summary
| Constructor | Description |
|---|---|
| AnnotateDefaultBranchState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Annotate |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Annotate |
fromString(String name)
Creates or finds a Annotate |
|
static
Collection<Annotate |
values()
Gets known Annotate |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final AnnotateDefaultBranchState DISABLED
Disabled.
ENABLED
public static final AnnotateDefaultBranchState ENABLED
Enabled.
Constructor Details
AnnotateDefaultBranchState
@Deprecated
public AnnotateDefaultBranchState()
Deprecated
Creates a new instance of AnnotateDefaultBranchState value.
Method Details
fromString
public static AnnotateDefaultBranchState fromString(String name)
Creates or finds a AnnotateDefaultBranchState from its string representation.
Parameters:
Returns:
values
public static Collection<AnnotateDefaultBranchState> values()
Gets known AnnotateDefaultBranchState values.
Returns: