com.pulumi.azurenative.logic.outputs.AS2ErrorSettingsResponse 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.logic.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;
@CustomType
public final class AS2ErrorSettingsResponse {
/**
* @return The value indicating whether to resend message If MDN is not received.
*
*/
private Boolean resendIfMDNNotReceived;
/**
* @return The value indicating whether to suspend duplicate message.
*
*/
private Boolean suspendDuplicateMessage;
private AS2ErrorSettingsResponse() {}
/**
* @return The value indicating whether to resend message If MDN is not received.
*
*/
public Boolean resendIfMDNNotReceived() {
return this.resendIfMDNNotReceived;
}
/**
* @return The value indicating whether to suspend duplicate message.
*
*/
public Boolean suspendDuplicateMessage() {
return this.suspendDuplicateMessage;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AS2ErrorSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean resendIfMDNNotReceived;
private Boolean suspendDuplicateMessage;
public Builder() {}
public Builder(AS2ErrorSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.resendIfMDNNotReceived = defaults.resendIfMDNNotReceived;
this.suspendDuplicateMessage = defaults.suspendDuplicateMessage;
}
@CustomType.Setter
public Builder resendIfMDNNotReceived(Boolean resendIfMDNNotReceived) {
if (resendIfMDNNotReceived == null) {
throw new MissingRequiredPropertyException("AS2ErrorSettingsResponse", "resendIfMDNNotReceived");
}
this.resendIfMDNNotReceived = resendIfMDNNotReceived;
return this;
}
@CustomType.Setter
public Builder suspendDuplicateMessage(Boolean suspendDuplicateMessage) {
if (suspendDuplicateMessage == null) {
throw new MissingRequiredPropertyException("AS2ErrorSettingsResponse", "suspendDuplicateMessage");
}
this.suspendDuplicateMessage = suspendDuplicateMessage;
return this;
}
public AS2ErrorSettingsResponse build() {
final var _resultValue = new AS2ErrorSettingsResponse();
_resultValue.resendIfMDNNotReceived = resendIfMDNNotReceived;
_resultValue.suspendDuplicateMessage = suspendDuplicateMessage;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy