MapsKeySpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.maps.models.MapsKeySpecification

public final class MapsKeySpecification

Whether the operation refers to the primary or secondary key.

Constructor Summary

Constructor Description
MapsKeySpecification()

Creates an instance of MapsKeySpecification class.

Method Summary

Modifier and Type Method and Description
KeyType keyType()

Get the keyType property: Whether the operation refers to the primary or secondary key.

void validate()

Validates the instance.

MapsKeySpecification withKeyType(KeyType keyType)

Set the keyType property: Whether the operation refers to the primary or secondary 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:

the keyType value.

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:

keyType - the keyType value to set.

Returns:

the MapsKeySpecification object itself.

Applies to