Class LogSpecification
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.LogSpecification
The specification of an Azure Monitoring log.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Log display name.name()
Get the name property: Log name.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Log display name.Set the name property: Log name.
-
Constructor Details
-
LogSpecification
public LogSpecification()Creates an instance of LogSpecification class.
-
-
Method Details
-
name
Get the name property: Log name.- Returns:
- the name value.
-
withName
Set the name property: Log name.- Parameters:
name
- the name value to set.- Returns:
- the LogSpecification object itself.
-
displayName
Get the displayName property: Log display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Log display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the LogSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-