
com.pulumi.azurenative.deviceregistry.outputs.OwnCertificateResponse 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.azurenative.deviceregistry.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class OwnCertificateResponse {
/**
* @return Secret Reference Name (Pfx or Pem password).
*
*/
private @Nullable String certPasswordReference;
/**
* @return Secret Reference name (cert and private key).
*
*/
private @Nullable String certSecretReference;
/**
* @return Certificate thumbprint.
*
*/
private @Nullable String certThumbprint;
private OwnCertificateResponse() {}
/**
* @return Secret Reference Name (Pfx or Pem password).
*
*/
public Optional certPasswordReference() {
return Optional.ofNullable(this.certPasswordReference);
}
/**
* @return Secret Reference name (cert and private key).
*
*/
public Optional certSecretReference() {
return Optional.ofNullable(this.certSecretReference);
}
/**
* @return Certificate thumbprint.
*
*/
public Optional certThumbprint() {
return Optional.ofNullable(this.certThumbprint);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OwnCertificateResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String certPasswordReference;
private @Nullable String certSecretReference;
private @Nullable String certThumbprint;
public Builder() {}
public Builder(OwnCertificateResponse defaults) {
Objects.requireNonNull(defaults);
this.certPasswordReference = defaults.certPasswordReference;
this.certSecretReference = defaults.certSecretReference;
this.certThumbprint = defaults.certThumbprint;
}
@CustomType.Setter
public Builder certPasswordReference(@Nullable String certPasswordReference) {
this.certPasswordReference = certPasswordReference;
return this;
}
@CustomType.Setter
public Builder certSecretReference(@Nullable String certSecretReference) {
this.certSecretReference = certSecretReference;
return this;
}
@CustomType.Setter
public Builder certThumbprint(@Nullable String certThumbprint) {
this.certThumbprint = certThumbprint;
return this;
}
public OwnCertificateResponse build() {
final var _resultValue = new OwnCertificateResponse();
_resultValue.certPasswordReference = certPasswordReference;
_resultValue.certSecretReference = certSecretReference;
_resultValue.certThumbprint = certThumbprint;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy