Class GatewayKeyRegenerationRequestContract
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.GatewayKeyRegenerationRequestContract
-
public final class GatewayKeyRegenerationRequestContract extends Object
Gateway key regeneration request contract properties.
-
-
Constructor Summary
Constructors Constructor Description GatewayKeyRegenerationRequestContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyType
keyType()
Get the keyType property: The Key being regenerated.void
validate()
Validates the instance.GatewayKeyRegenerationRequestContract
withKeyType(KeyType keyType)
Set the keyType property: The Key being regenerated.
-
-
-
Method Detail
-
keyType
public KeyType keyType()
Get the keyType property: The Key being regenerated.- Returns:
- the keyType value.
-
withKeyType
public GatewayKeyRegenerationRequestContract withKeyType(KeyType keyType)
Set the keyType property: The Key being regenerated.- Parameters:
keyType
- the keyType value to set.- Returns:
- the GatewayKeyRegenerationRequestContract object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-