Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import com.fasterxml.jackson.annotation.JsonProperty;
Description of logging specification.
/** * Description of logging specification. */
public class LogSpecification {
The name of the specification.
/** * The name of the specification. */
@JsonProperty(value = "name") private String name;
The display name of the specification.
/** * The display name of the specification. */
@JsonProperty(value = "displayName") private String displayName;
Duration of the blob.
/** * Duration of the blob. */
@JsonProperty(value = "blobDuration") private String blobDuration;
Get the name of the specification.
Returns:the name value
/** * Get the name of the specification. * * @return the name value */
public String name() { return this.name; }
Set the name of the specification.
Params:
  • name – the name value to set
Returns:the LogSpecification object itself.
/** * Set the name of the specification. * * @param name the name value to set * @return the LogSpecification object itself. */
public LogSpecification withName(String name) { this.name = name; return this; }
Get the display name of the specification.
Returns:the displayName value
/** * Get the display name of the specification. * * @return the displayName value */
public String displayName() { return this.displayName; }
Set the display name of the specification.
Params:
  • displayName – the displayName value to set
Returns:the LogSpecification object itself.
/** * Set the display name of the specification. * * @param displayName the displayName value to set * @return the LogSpecification object itself. */
public LogSpecification withDisplayName(String displayName) { this.displayName = displayName; return this; }
Get duration of the blob.
Returns:the blobDuration value
/** * Get duration of the blob. * * @return the blobDuration value */
public String blobDuration() { return this.blobDuration; }
Set duration of the blob.
Params:
  • blobDuration – the blobDuration value to set
Returns:the LogSpecification object itself.
/** * Set duration of the blob. * * @param blobDuration the blobDuration value to set * @return the LogSpecification object itself. */
public LogSpecification withBlobDuration(String blobDuration) { this.blobDuration = blobDuration; return this; } }