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
Static value Disabled for Annotate |
static final
Annotate |
ENABLED
Static value Enabled for Annotate |
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
Static value Disabled for AnnotateDefaultBranchState.
ENABLED
public static final AnnotateDefaultBranchState ENABLED
Static value Enabled for AnnotateDefaultBranchState.
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
Gets known AnnotateDefaultBranchState values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for