
com.pulumi.azurenative.eventgrid.outputs.ClientAuthenticationResponse 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.eventgrid.outputs;
import com.pulumi.azurenative.eventgrid.outputs.ClientCertificateSubjectDistinguishedNameResponse;
import com.pulumi.azurenative.eventgrid.outputs.ClientCertificateThumbprintResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClientAuthenticationResponse {
/**
* @return The CA certificate subject name used for authentication.
*
*/
private @Nullable ClientCertificateSubjectDistinguishedNameResponse certificateSubject;
/**
* @return The self signed certificate's thumbprints data used for authentication.
*
*/
private @Nullable ClientCertificateThumbprintResponse certificateThumbprint;
private ClientAuthenticationResponse() {}
/**
* @return The CA certificate subject name used for authentication.
*
*/
public Optional certificateSubject() {
return Optional.ofNullable(this.certificateSubject);
}
/**
* @return The self signed certificate's thumbprints data used for authentication.
*
*/
public Optional certificateThumbprint() {
return Optional.ofNullable(this.certificateThumbprint);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClientAuthenticationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ClientCertificateSubjectDistinguishedNameResponse certificateSubject;
private @Nullable ClientCertificateThumbprintResponse certificateThumbprint;
public Builder() {}
public Builder(ClientAuthenticationResponse defaults) {
Objects.requireNonNull(defaults);
this.certificateSubject = defaults.certificateSubject;
this.certificateThumbprint = defaults.certificateThumbprint;
}
@CustomType.Setter
public Builder certificateSubject(@Nullable ClientCertificateSubjectDistinguishedNameResponse certificateSubject) {
this.certificateSubject = certificateSubject;
return this;
}
@CustomType.Setter
public Builder certificateThumbprint(@Nullable ClientCertificateThumbprintResponse certificateThumbprint) {
this.certificateThumbprint = certificateThumbprint;
return this;
}
public ClientAuthenticationResponse build() {
final var _resultValue = new ClientAuthenticationResponse();
_resultValue.certificateSubject = certificateSubject;
_resultValue.certificateThumbprint = certificateThumbprint;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy