LogSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.netapp.models.LogSpecification

public final class LogSpecification

Log Definition of a single resource metric.

Constructor Summary

Constructor Description
LogSpecification()

Creates an instance of LogSpecification class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Display name of log specification.

String name()

Get the name property: Name of log specification.

void validate()

Validates the instance.

LogSpecification withDisplayName(String displayName)

Set the displayName property: Display name of log specification.

LogSpecification 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

displayName

public String displayName()

Get the displayName property: Display name of log specification.

Returns:

the displayName value.

name

public String name()

Get the name property: Name of log specification.

Returns:

the name value.

validate

public void validate()

Validates the instance.

withDisplayName

public LogSpecification withDisplayName(String displayName)

Set the displayName property: Display name of log specification.

Parameters:

displayName - the displayName value to set.

Returns:

the LogSpecification object itself.

withName

public LogSpecification withName(String name)

Set the name property: Name of log specification.

Parameters:

name - the name value to set.

Returns:

the LogSpecification object itself.

Applies to