Class TrustPolicyType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TrustPolicyType>
com.azure.resourcemanager.containerregistry.models.TrustPolicyType
public final class TrustPolicyType
extends com.azure.core.util.ExpandableStringEnum<TrustPolicyType>
The type of trust policy.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TrustPolicyTypeStatic value Notary for TrustPolicyType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrustPolicyTypefromString(String name) Creates or finds a TrustPolicyType from its string representation.static Collection<TrustPolicyType>values()Gets known TrustPolicyType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NOTARY
Static value Notary for TrustPolicyType.
-
-
Constructor Details
-
TrustPolicyType
Deprecated.Use thefromString(String)factory method.Creates a new instance of TrustPolicyType value.
-
-
Method Details
-
fromString
Creates or finds a TrustPolicyType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding TrustPolicyType.
-
values
Gets known TrustPolicyType values.- Returns:
- known TrustPolicyType values.
-
fromString(String)factory method.