
com.pulumi.azurenative.deviceregistry.outputs.TransportAuthenticationResponse 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.azurenative.deviceregistry.outputs.OwnCertificateResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class TransportAuthenticationResponse {
/**
* @return Defines a reference to a secret which contains all certificates and private keys that can be used by the southbound connector connecting to the shop floor/OT device. The accepted extensions are .der for certificates and .pfx/.pem for private keys.
*
*/
private List ownCertificates;
private TransportAuthenticationResponse() {}
/**
* @return Defines a reference to a secret which contains all certificates and private keys that can be used by the southbound connector connecting to the shop floor/OT device. The accepted extensions are .der for certificates and .pfx/.pem for private keys.
*
*/
public List ownCertificates() {
return this.ownCertificates;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TransportAuthenticationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List ownCertificates;
public Builder() {}
public Builder(TransportAuthenticationResponse defaults) {
Objects.requireNonNull(defaults);
this.ownCertificates = defaults.ownCertificates;
}
@CustomType.Setter
public Builder ownCertificates(List ownCertificates) {
if (ownCertificates == null) {
throw new MissingRequiredPropertyException("TransportAuthenticationResponse", "ownCertificates");
}
this.ownCertificates = ownCertificates;
return this;
}
public Builder ownCertificates(OwnCertificateResponse... ownCertificates) {
return ownCertificates(List.of(ownCertificates));
}
public TransportAuthenticationResponse build() {
final var _resultValue = new TransportAuthenticationResponse();
_resultValue.ownCertificates = ownCertificates;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy