Class LogAnalyticsConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.LogAnalyticsConfiguration
-
public final class LogAnalyticsConfiguration extends Object
Log analytics configuration.
-
-
Constructor Summary
Constructors Constructor Description LogAnalyticsConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
customerId()
Get the customerId property: Log analytics customer id.String
sharedKey()
Get the sharedKey property: Log analytics customer key.void
validate()
Validates the instance.LogAnalyticsConfiguration
withCustomerId(String customerId)
Set the customerId property: Log analytics customer id.LogAnalyticsConfiguration
withSharedKey(String sharedKey)
Set the sharedKey property: Log analytics customer key.
-
-
-
Method Detail
-
customerId
public String customerId()
Get the customerId property: Log analytics customer id.- Returns:
- the customerId value.
-
withCustomerId
public LogAnalyticsConfiguration withCustomerId(String customerId)
Set the customerId property: Log analytics customer id.- Parameters:
customerId
- the customerId value to set.- Returns:
- the LogAnalyticsConfiguration object itself.
-
sharedKey
public String sharedKey()
Get the sharedKey property: Log analytics customer key.- Returns:
- the sharedKey value.
-
withSharedKey
public LogAnalyticsConfiguration withSharedKey(String sharedKey)
Set the sharedKey property: Log analytics customer key.- Parameters:
sharedKey
- the sharedKey value to set.- Returns:
- the LogAnalyticsConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-