Class MapsKeySpecification
java.lang.Object
com.azure.resourcemanager.maps.models.MapsKeySpecification
Whether the operation refers to the primary or secondary key.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkeyType()
Get the keyType property: Whether the operation refers to the primary or secondary key.void
validate()
Validates the instance.withKeyType
(KeyType keyType) Set the keyType property: Whether the operation refers to the primary or secondary key.
-
Constructor Details
-
MapsKeySpecification
public MapsKeySpecification()Creates an instance of MapsKeySpecification class.
-
-
Method Details
-
keyType
Get the keyType property: Whether the operation refers to the primary or secondary key.- Returns:
- the keyType value.
-
withKeyType
Set the keyType property: Whether the operation refers to the primary or secondary key.- Parameters:
keyType
- the keyType value to set.- Returns:
- the MapsKeySpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-