public final class DimensionProperties extends Object
Constructor and Description |
---|
DimensionProperties() |
Modifier and Type | Method and Description |
---|---|
String |
displayName()
Get the displayName property: localized display name of the dimension to customer.
|
String |
name()
Get the name property: dimension name.
|
Boolean |
toBeExportedForCustomer()
Get the toBeExportedForCustomer property: flag indicating whether this dimension should be included to the
customer in Azure Monitor logs (aka Shoebox).
|
void |
validate()
Validates the instance.
|
DimensionProperties |
withDisplayName(String displayName)
Set the displayName property: localized display name of the dimension to customer.
|
DimensionProperties |
withName(String name)
Set the name property: dimension name.
|
DimensionProperties |
withToBeExportedForCustomer(Boolean toBeExportedForCustomer)
Set the toBeExportedForCustomer property: flag indicating whether this dimension should be included to the
customer in Azure Monitor logs (aka Shoebox).
|
public String displayName()
public DimensionProperties withDisplayName(String displayName)
displayName
- the displayName value to set.public String name()
public DimensionProperties withName(String name)
name
- the name value to set.public Boolean toBeExportedForCustomer()
public DimensionProperties withToBeExportedForCustomer(Boolean toBeExportedForCustomer)
toBeExportedForCustomer
- the toBeExportedForCustomer value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.