LogSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. LogSpecification
- com.
Implements
public final class LogSpecification
implements JsonSerializable<LogSpecification>
Log specification of operation.
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: Name of log 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: Name of log 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: Blob duration of specification.
Returns:
displayName
public String displayName()
Get the displayName property: Display name of log 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: Name of log specification.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBlobDuration
public LogSpecification withBlobDuration(String blobDuration)
Set the blobDuration property: Blob duration of specification.
Parameters:
Returns:
withDisplayName
public LogSpecification withDisplayName(String displayName)
Set the displayName property: Display name of log specification.
Parameters:
Returns:
withName
public LogSpecification withName(String name)
Set the name property: Name of log specification.
Parameters:
Returns:
Applies to
Azure SDK for Java