Class ApiKeyRequest
java.lang.Object
com.azure.resourcemanager.applicationinsights.models.ApiKeyRequest
An Application Insights component API Key creation request definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the linkedReadProperties property: The read access rights of this API Key.Get the linkedWriteProperties property: The write access rights of this API Key.name()Get the name property: The name of the API Key.voidvalidate()Validates the instance.withLinkedReadProperties(List<String> linkedReadProperties) Set the linkedReadProperties property: The read access rights of this API Key.withLinkedWriteProperties(List<String> linkedWriteProperties) Set the linkedWriteProperties property: The write access rights of this API Key.Set the name property: The name of the API Key.
-
Constructor Details
-
ApiKeyRequest
public ApiKeyRequest()
-
-
Method Details
-
name
Get the name property: The name of the API Key.- Returns:
- the name value.
-
withName
Set the name property: The name of the API Key.- Parameters:
name- the name value to set.- Returns:
- the ApiKeyRequest object itself.
-
linkedReadProperties
Get the linkedReadProperties property: The read access rights of this API Key.- Returns:
- the linkedReadProperties value.
-
withLinkedReadProperties
Set the linkedReadProperties property: The read access rights of this API Key.- Parameters:
linkedReadProperties- the linkedReadProperties value to set.- Returns:
- the ApiKeyRequest object itself.
-
linkedWriteProperties
Get the linkedWriteProperties property: The write access rights of this API Key.- Returns:
- the linkedWriteProperties value.
-
withLinkedWriteProperties
Set the linkedWriteProperties property: The write access rights of this API Key.- Parameters:
linkedWriteProperties- the linkedWriteProperties value to set.- Returns:
- the ApiKeyRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-