LogSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. LogSpecification
- com.
Implements
public final class LogSpecification
implements JsonSerializable<LogSpecification>
Description of logging specification.
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 |
name()
Get the name property: The name of the specification. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Log |
withBlobDuration(String blobDuration)
Set the blob |
|
Log |
withDisplayName(String displayName)
Set the display |
|
Log |
withName(String name)
Set the name property: The name of the specification. |
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: Duration of the blob.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the specification.
Returns:
fromJson
public static LogSpecification fromJson(JsonReader jsonReader)
Reads an instance of LogSpecification from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the specification.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBlobDuration
public LogSpecification withBlobDuration(String blobDuration)
Set the blobDuration property: Duration of the blob.
Parameters:
Returns:
withDisplayName
public LogSpecification withDisplayName(String displayName)
Set the displayName property: The display name of the specification.
Parameters:
Returns:
withName
public LogSpecification withName(String name)
Set the name property: The name of the specification.
Parameters:
Returns: