public final class LogSpecification extends Object
| Constructor and Description |
|---|
LogSpecification() |
| Modifier and Type | Method and Description |
|---|---|
String |
blobDuration()
Get the blobDuration property: The blobDuration property.
|
String |
displayName()
Get the displayName property: The displayName property.
|
String |
logFilterPattern()
Get the logFilterPattern property: The logFilterPattern property.
|
String |
name()
Get the name property: The name property.
|
void |
validate()
Validates the instance.
|
LogSpecification |
withBlobDuration(String blobDuration)
Set the blobDuration property: The blobDuration property.
|
LogSpecification |
withDisplayName(String displayName)
Set the displayName property: The displayName property.
|
LogSpecification |
withLogFilterPattern(String logFilterPattern)
Set the logFilterPattern property: The logFilterPattern property.
|
LogSpecification |
withName(String name)
Set the name property: The name property.
|
public String name()
public LogSpecification withName(String name)
name - the name value to set.public String displayName()
public LogSpecification withDisplayName(String displayName)
displayName - the displayName value to set.public String blobDuration()
public LogSpecification withBlobDuration(String blobDuration)
blobDuration - the blobDuration value to set.public String logFilterPattern()
public LogSpecification withLogFilterPattern(String logFilterPattern)
logFilterPattern - the logFilterPattern value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.