Class LogSpecification
- java.lang.Object
-
- com.azure.resourcemanager.signalr.models.LogSpecification
-
public final class LogSpecification extends Object
Specifications of the Logs for Azure Monitoring.
-
-
Constructor Summary
Constructors Constructor Description LogSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: Localized friendly display name of the log.String
name()
Get the name property: Name of the log.void
validate()
Validates the instance.LogSpecification
withDisplayName(String displayName)
Set the displayName property: Localized friendly display name of the log.LogSpecification
withName(String name)
Set the name property: Name of the log.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the log.- Returns:
- the name value.
-
withName
public LogSpecification withName(String name)
Set the name property: Name of the log.- Parameters:
name
- the name value to set.- Returns:
- the LogSpecification object itself.
-
displayName
public String displayName()
Get the displayName property: Localized friendly display name of the log.- Returns:
- the displayName value.
-
withDisplayName
public LogSpecification withDisplayName(String displayName)
Set the displayName property: Localized friendly display name of the log.- 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.
-
-