public final class LogAnalyticsConfiguration extends Object
| Constructor and Description |
|---|
LogAnalyticsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
customerId()
Get the customerId property: The customerId property.
|
String |
sharedKey()
Get the sharedKey property: The sharedKey property.
|
void |
validate()
Validates the instance.
|
LogAnalyticsConfiguration |
withCustomerId(String customerId)
Set the customerId property: The customerId property.
|
LogAnalyticsConfiguration |
withSharedKey(String sharedKey)
Set the sharedKey property: The sharedKey property.
|
public String customerId()
public LogAnalyticsConfiguration withCustomerId(String customerId)
customerId - the customerId value to set.public String sharedKey()
public LogAnalyticsConfiguration withSharedKey(String sharedKey)
sharedKey - the sharedKey value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.