LogSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. LogSpecification
- com.
Implements
public final class LogSpecification
implements JsonSerializable<LogSpecification>
Log Definition of a single resource metric.
Constructor Summary
Constructor | Description |
---|---|
LogSpecification() |
Creates an instance of Log |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
blobDuration()
Get the blob |
String |
displayName()
Get the display |
static
Log |
fromJson(JsonReader jsonReader)
Reads an instance of Log |
String |
logFilterPattern()
Get the log |
String |
name()
Get the name property: The name property. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Log |
withBlobDuration(String blobDuration)
Set the blob |
Log |
withDisplayName(String displayName)
Set the display |
Log |
withLogFilterPattern(String logFilterPattern)
Set the log |
Log |
withName(String name)
Set the name property: The name property. |
Methods inherited from java.lang.Object
Constructor Details
LogSpecification
public LogSpecification()
Creates an instance of LogSpecification class.
Method Details
blobDuration
public String blobDuration()
Get the blobDuration property: The blobDuration property.
Returns:
displayName
public String displayName()
Get the displayName property: The displayName property.
Returns:
fromJson
public static LogSpecification fromJson(JsonReader jsonReader)
Reads an instance of LogSpecification from the JsonReader.
Parameters:
Returns:
Throws:
logFilterPattern
public String logFilterPattern()
Get the logFilterPattern property: The logFilterPattern property.
Returns:
name
public String name()
Get the name property: The name property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBlobDuration
public LogSpecification withBlobDuration(String blobDuration)
Set the blobDuration property: The blobDuration property.
Parameters:
Returns:
withDisplayName
public LogSpecification withDisplayName(String displayName)
Set the displayName property: The displayName property.
Parameters:
Returns:
withLogFilterPattern
public LogSpecification withLogFilterPattern(String logFilterPattern)
Set the logFilterPattern property: The logFilterPattern property.
Parameters:
Returns:
withName
public LogSpecification withName(String name)
Set the name property: The name property.
Parameters:
Returns:
Applies to
Azure SDK for Java