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.dns;
import com.fasterxml.jackson.annotation.JsonProperty;
A CAA record.
/**
* A CAA record.
*/
public class CaaRecord {
The flags for this CAA record as an integer between 0 and 255.
/**
* The flags for this CAA record as an integer between 0 and 255.
*/
@JsonProperty(value = "flags")
private Integer flags;
The tag for this CAA record.
/**
* The tag for this CAA record.
*/
@JsonProperty(value = "tag")
private String tag;
The value for this CAA record.
/**
* The value for this CAA record.
*/
@JsonProperty(value = "value")
private String value;
Get the flags value.
Returns: the flags value
/**
* Get the flags value.
*
* @return the flags value
*/
public Integer flags() {
return this.flags;
}
Set the flags value.
Params: - flags – the flags value to set
Returns: the CaaRecord object itself.
/**
* Set the flags value.
*
* @param flags the flags value to set
* @return the CaaRecord object itself.
*/
public CaaRecord withFlags(Integer flags) {
this.flags = flags;
return this;
}
Get the tag value.
Returns: the tag value
/**
* Get the tag value.
*
* @return the tag value
*/
public String tag() {
return this.tag;
}
Set the tag value.
Params: - tag – the tag value to set
Returns: the CaaRecord object itself.
/**
* Set the tag value.
*
* @param tag the tag value to set
* @return the CaaRecord object itself.
*/
public CaaRecord withTag(String tag) {
this.tag = tag;
return this;
}
Get the value value.
Returns: the value value
/**
* Get the value value.
*
* @return the value value
*/
public String value() {
return this.value;
}
Set the value value.
Params: - value – the value value to set
Returns: the CaaRecord object itself.
/**
* Set the value value.
*
* @param value the value value to set
* @return the CaaRecord object itself.
*/
public CaaRecord withValue(String value) {
this.value = value;
return this;
}
}