com.pulumi.azure.network.inputs.VpnServerConfigurationClientRevokedCertificateArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.network.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class VpnServerConfigurationClientRevokedCertificateArgs extends com.pulumi.resources.ResourceArgs {
public static final VpnServerConfigurationClientRevokedCertificateArgs Empty = new VpnServerConfigurationClientRevokedCertificateArgs();
/**
* A name used to uniquely identify this certificate.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return A name used to uniquely identify this certificate.
*
*/
public Output name() {
return this.name;
}
/**
* The Thumbprint of the Certificate.
*
*/
@Import(name="thumbprint", required=true)
private Output thumbprint;
/**
* @return The Thumbprint of the Certificate.
*
*/
public Output thumbprint() {
return this.thumbprint;
}
private VpnServerConfigurationClientRevokedCertificateArgs() {}
private VpnServerConfigurationClientRevokedCertificateArgs(VpnServerConfigurationClientRevokedCertificateArgs $) {
this.name = $.name;
this.thumbprint = $.thumbprint;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VpnServerConfigurationClientRevokedCertificateArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private VpnServerConfigurationClientRevokedCertificateArgs $;
public Builder() {
$ = new VpnServerConfigurationClientRevokedCertificateArgs();
}
public Builder(VpnServerConfigurationClientRevokedCertificateArgs defaults) {
$ = new VpnServerConfigurationClientRevokedCertificateArgs(Objects.requireNonNull(defaults));
}
/**
* @param name A name used to uniquely identify this certificate.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name A name used to uniquely identify this certificate.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param thumbprint The Thumbprint of the Certificate.
*
* @return builder
*
*/
public Builder thumbprint(Output thumbprint) {
$.thumbprint = thumbprint;
return this;
}
/**
* @param thumbprint The Thumbprint of the Certificate.
*
* @return builder
*
*/
public Builder thumbprint(String thumbprint) {
return thumbprint(Output.of(thumbprint));
}
public VpnServerConfigurationClientRevokedCertificateArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("VpnServerConfigurationClientRevokedCertificateArgs", "name");
}
if ($.thumbprint == null) {
throw new MissingRequiredPropertyException("VpnServerConfigurationClientRevokedCertificateArgs", "thumbprint");
}
return $;
}
}
}