MapsKeySpecification Class
- java.
lang. Object - com.
azure. resourcemanager. maps. models. MapsKeySpecification
- com.
public final class MapsKeySpecification
Whether the operation refers to the primary or secondary key.
Constructor Summary
| Constructor | Description |
|---|---|
| MapsKeySpecification() |
Creates an instance of Maps |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Key |
keyType()
Get the key |
| void |
validate()
Validates the instance. |
|
Maps |
withKeyType(KeyType keyType)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
MapsKeySpecification
public MapsKeySpecification()
Creates an instance of MapsKeySpecification class.
Method Details
keyType
public KeyType keyType()
Get the keyType property: Whether the operation refers to the primary or secondary key.
Returns:
validate
public void validate()
Validates the instance.
withKeyType
public MapsKeySpecification withKeyType(KeyType keyType)
Set the keyType property: Whether the operation refers to the primary or secondary key.
Parameters:
Returns: