
com.pulumi.azurenative.deviceregistry.inputs.X509CredentialsArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.deviceregistry.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;
/**
* The x509 certificate for authentication mode Certificate.
*
*/
public final class X509CredentialsArgs extends com.pulumi.resources.ResourceArgs {
public static final X509CredentialsArgs Empty = new X509CredentialsArgs();
/**
* A reference to secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
*
*/
@Import(name="certificateReference", required=true)
private Output certificateReference;
/**
* @return A reference to secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
*
*/
public Output certificateReference() {
return this.certificateReference;
}
private X509CredentialsArgs() {}
private X509CredentialsArgs(X509CredentialsArgs $) {
this.certificateReference = $.certificateReference;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(X509CredentialsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private X509CredentialsArgs $;
public Builder() {
$ = new X509CredentialsArgs();
}
public Builder(X509CredentialsArgs defaults) {
$ = new X509CredentialsArgs(Objects.requireNonNull(defaults));
}
/**
* @param certificateReference A reference to secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
*
* @return builder
*
*/
public Builder certificateReference(Output certificateReference) {
$.certificateReference = certificateReference;
return this;
}
/**
* @param certificateReference A reference to secret containing the certificate and private key (e.g. stored as .der/.pem or .der/.pfx).
*
* @return builder
*
*/
public Builder certificateReference(String certificateReference) {
return certificateReference(Output.of(certificateReference));
}
public X509CredentialsArgs build() {
if ($.certificateReference == null) {
throw new MissingRequiredPropertyException("X509CredentialsArgs", "certificateReference");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy