com.pulumi.azurenative.logic.outputs.AS2EnvelopeSettingsResponse 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.lang.String;
import java.util.Objects;
@CustomType
public final class AS2EnvelopeSettingsResponse {
/**
* @return The value indicating whether to auto generate file name.
*
*/
private Boolean autogenerateFileName;
/**
* @return The template for file name.
*
*/
private String fileNameTemplate;
/**
* @return The message content type.
*
*/
private String messageContentType;
/**
* @return The value indicating whether to suspend message on file name generation error.
*
*/
private Boolean suspendMessageOnFileNameGenerationError;
/**
* @return The value indicating whether to transmit file name in mime header.
*
*/
private Boolean transmitFileNameInMimeHeader;
private AS2EnvelopeSettingsResponse() {}
/**
* @return The value indicating whether to auto generate file name.
*
*/
public Boolean autogenerateFileName() {
return this.autogenerateFileName;
}
/**
* @return The template for file name.
*
*/
public String fileNameTemplate() {
return this.fileNameTemplate;
}
/**
* @return The message content type.
*
*/
public String messageContentType() {
return this.messageContentType;
}
/**
* @return The value indicating whether to suspend message on file name generation error.
*
*/
public Boolean suspendMessageOnFileNameGenerationError() {
return this.suspendMessageOnFileNameGenerationError;
}
/**
* @return The value indicating whether to transmit file name in mime header.
*
*/
public Boolean transmitFileNameInMimeHeader() {
return this.transmitFileNameInMimeHeader;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AS2EnvelopeSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean autogenerateFileName;
private String fileNameTemplate;
private String messageContentType;
private Boolean suspendMessageOnFileNameGenerationError;
private Boolean transmitFileNameInMimeHeader;
public Builder() {}
public Builder(AS2EnvelopeSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.autogenerateFileName = defaults.autogenerateFileName;
this.fileNameTemplate = defaults.fileNameTemplate;
this.messageContentType = defaults.messageContentType;
this.suspendMessageOnFileNameGenerationError = defaults.suspendMessageOnFileNameGenerationError;
this.transmitFileNameInMimeHeader = defaults.transmitFileNameInMimeHeader;
}
@CustomType.Setter
public Builder autogenerateFileName(Boolean autogenerateFileName) {
if (autogenerateFileName == null) {
throw new MissingRequiredPropertyException("AS2EnvelopeSettingsResponse", "autogenerateFileName");
}
this.autogenerateFileName = autogenerateFileName;
return this;
}
@CustomType.Setter
public Builder fileNameTemplate(String fileNameTemplate) {
if (fileNameTemplate == null) {
throw new MissingRequiredPropertyException("AS2EnvelopeSettingsResponse", "fileNameTemplate");
}
this.fileNameTemplate = fileNameTemplate;
return this;
}
@CustomType.Setter
public Builder messageContentType(String messageContentType) {
if (messageContentType == null) {
throw new MissingRequiredPropertyException("AS2EnvelopeSettingsResponse", "messageContentType");
}
this.messageContentType = messageContentType;
return this;
}
@CustomType.Setter
public Builder suspendMessageOnFileNameGenerationError(Boolean suspendMessageOnFileNameGenerationError) {
if (suspendMessageOnFileNameGenerationError == null) {
throw new MissingRequiredPropertyException("AS2EnvelopeSettingsResponse", "suspendMessageOnFileNameGenerationError");
}
this.suspendMessageOnFileNameGenerationError = suspendMessageOnFileNameGenerationError;
return this;
}
@CustomType.Setter
public Builder transmitFileNameInMimeHeader(Boolean transmitFileNameInMimeHeader) {
if (transmitFileNameInMimeHeader == null) {
throw new MissingRequiredPropertyException("AS2EnvelopeSettingsResponse", "transmitFileNameInMimeHeader");
}
this.transmitFileNameInMimeHeader = transmitFileNameInMimeHeader;
return this;
}
public AS2EnvelopeSettingsResponse build() {
final var _resultValue = new AS2EnvelopeSettingsResponse();
_resultValue.autogenerateFileName = autogenerateFileName;
_resultValue.fileNameTemplate = fileNameTemplate;
_resultValue.messageContentType = messageContentType;
_resultValue.suspendMessageOnFileNameGenerationError = suspendMessageOnFileNameGenerationError;
_resultValue.transmitFileNameInMimeHeader = transmitFileNameInMimeHeader;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy