VpnServerConfigVpnClientRootCertificate.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Properties of VPN client root certificate of VpnServerConfiguration. */
@Fluent
public final class VpnServerConfigVpnClientRootCertificate {
@JsonIgnore private final ClientLogger logger = new ClientLogger(VpnServerConfigVpnClientRootCertificate.class);
/*
* The certificate name.
*/
@JsonProperty(value = "name")
private String name;
/*
* The certificate public data.
*/
@JsonProperty(value = "publicCertData")
private String publicCertData;
/**
* Get the name property: The certificate name.
*
* @return the name value.
*/
public String name() {
return this.name;
}
/**
* Set the name property: The certificate name.
*
* @param name the name value to set.
* @return the VpnServerConfigVpnClientRootCertificate object itself.
*/
public VpnServerConfigVpnClientRootCertificate withName(String name) {
this.name = name;
return this;
}
/**
* Get the publicCertData property: The certificate public data.
*
* @return the publicCertData value.
*/
public String publicCertData() {
return this.publicCertData;
}
/**
* Set the publicCertData property: The certificate public data.
*
* @param publicCertData the publicCertData value to set.
* @return the VpnServerConfigVpnClientRootCertificate object itself.
*/
public VpnServerConfigVpnClientRootCertificate withPublicCertData(String publicCertData) {
this.publicCertData = publicCertData;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}