com.azure.resourcemanager.network.models.VpnServerConfigVpnClientRootCertificate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-network Show documentation
Show all versions of azure-resourcemanager-network Show documentation
This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// 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.fasterxml.jackson.annotation.JsonProperty;
/**
* Properties of VPN client root certificate of VpnServerConfiguration.
*/
@Fluent
public final class VpnServerConfigVpnClientRootCertificate {
/*
* The certificate name.
*/
@JsonProperty(value = "name")
private String name;
/*
* The certificate public data.
*/
@JsonProperty(value = "publicCertData")
private String publicCertData;
/**
* Creates an instance of VpnServerConfigVpnClientRootCertificate class.
*/
public VpnServerConfigVpnClientRootCertificate() {
}
/**
* 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() {
}
}