Class RegenerateEndpointKeysRequest
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.RegenerateEndpointKeysRequest
-
public final class RegenerateEndpointKeysRequest extends Object
The RegenerateEndpointKeysRequest model.
-
-
Constructor Summary
Constructors Constructor Description RegenerateEndpointKeysRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyType
keyType()
Get the keyType property: [Required] Specification for which type of key to generate.String
keyValue()
Get the keyValue property: The value the key is set to.void
validate()
Validates the instance.RegenerateEndpointKeysRequest
withKeyType(KeyType keyType)
Set the keyType property: [Required] Specification for which type of key to generate.RegenerateEndpointKeysRequest
withKeyValue(String keyValue)
Set the keyValue property: The value the key is set to.
-
-
-
Method Detail
-
keyType
public KeyType keyType()
Get the keyType property: [Required] Specification for which type of key to generate. Primary or Secondary.- Returns:
- the keyType value.
-
withKeyType
public RegenerateEndpointKeysRequest withKeyType(KeyType keyType)
Set the keyType property: [Required] Specification for which type of key to generate. Primary or Secondary.- Parameters:
keyType
- the keyType value to set.- Returns:
- the RegenerateEndpointKeysRequest object itself.
-
keyValue
public String keyValue()
Get the keyValue property: The value the key is set to.- Returns:
- the keyValue value.
-
withKeyValue
public RegenerateEndpointKeysRequest withKeyValue(String keyValue)
Set the keyValue property: The value the key is set to.- Parameters:
keyValue
- the keyValue value to set.- Returns:
- the RegenerateEndpointKeysRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-