
com.pulumi.azurenative.notificationhubs.outputs.MpnsCredentialPropertiesResponse 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.notificationhubs.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class MpnsCredentialPropertiesResponse {
/**
* @return Gets or sets the certificate key for this credential.
*
*/
private String certificateKey;
/**
* @return Gets or sets the MPNS certificate.
*
*/
private String mpnsCertificate;
/**
* @return Gets or sets the MPNS certificate Thumbprint
*
*/
private String thumbprint;
private MpnsCredentialPropertiesResponse() {}
/**
* @return Gets or sets the certificate key for this credential.
*
*/
public String certificateKey() {
return this.certificateKey;
}
/**
* @return Gets or sets the MPNS certificate.
*
*/
public String mpnsCertificate() {
return this.mpnsCertificate;
}
/**
* @return Gets or sets the MPNS certificate Thumbprint
*
*/
public String thumbprint() {
return this.thumbprint;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MpnsCredentialPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String certificateKey;
private String mpnsCertificate;
private String thumbprint;
public Builder() {}
public Builder(MpnsCredentialPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.certificateKey = defaults.certificateKey;
this.mpnsCertificate = defaults.mpnsCertificate;
this.thumbprint = defaults.thumbprint;
}
@CustomType.Setter
public Builder certificateKey(String certificateKey) {
if (certificateKey == null) {
throw new MissingRequiredPropertyException("MpnsCredentialPropertiesResponse", "certificateKey");
}
this.certificateKey = certificateKey;
return this;
}
@CustomType.Setter
public Builder mpnsCertificate(String mpnsCertificate) {
if (mpnsCertificate == null) {
throw new MissingRequiredPropertyException("MpnsCredentialPropertiesResponse", "mpnsCertificate");
}
this.mpnsCertificate = mpnsCertificate;
return this;
}
@CustomType.Setter
public Builder thumbprint(String thumbprint) {
if (thumbprint == null) {
throw new MissingRequiredPropertyException("MpnsCredentialPropertiesResponse", "thumbprint");
}
this.thumbprint = thumbprint;
return this;
}
public MpnsCredentialPropertiesResponse build() {
final var _resultValue = new MpnsCredentialPropertiesResponse();
_resultValue.certificateKey = certificateKey;
_resultValue.mpnsCertificate = mpnsCertificate;
_resultValue.thumbprint = thumbprint;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy