
com.pulumi.azurenative.documentdb.outputs.CertificateResponse 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.documentdb.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 CertificateResponse {
/**
* @return PEM formatted public key.
*
*/
private @Nullable String pem;
private CertificateResponse() {}
/**
* @return PEM formatted public key.
*
*/
public Optional pem() {
return Optional.ofNullable(this.pem);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CertificateResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String pem;
public Builder() {}
public Builder(CertificateResponse defaults) {
Objects.requireNonNull(defaults);
this.pem = defaults.pem;
}
@CustomType.Setter
public Builder pem(@Nullable String pem) {
this.pem = pem;
return this;
}
public CertificateResponse build() {
final var _resultValue = new CertificateResponse();
_resultValue.pem = pem;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy