com.pulumi.azurenative.logic.outputs.AS2AgreementContentResponse 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.azurenative.logic.outputs.AS2OneWayAgreementResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
@CustomType
public final class AS2AgreementContentResponse {
/**
* @return The AS2 one-way receive agreement.
*
*/
private AS2OneWayAgreementResponse receiveAgreement;
/**
* @return The AS2 one-way send agreement.
*
*/
private AS2OneWayAgreementResponse sendAgreement;
private AS2AgreementContentResponse() {}
/**
* @return The AS2 one-way receive agreement.
*
*/
public AS2OneWayAgreementResponse receiveAgreement() {
return this.receiveAgreement;
}
/**
* @return The AS2 one-way send agreement.
*
*/
public AS2OneWayAgreementResponse sendAgreement() {
return this.sendAgreement;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AS2AgreementContentResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private AS2OneWayAgreementResponse receiveAgreement;
private AS2OneWayAgreementResponse sendAgreement;
public Builder() {}
public Builder(AS2AgreementContentResponse defaults) {
Objects.requireNonNull(defaults);
this.receiveAgreement = defaults.receiveAgreement;
this.sendAgreement = defaults.sendAgreement;
}
@CustomType.Setter
public Builder receiveAgreement(AS2OneWayAgreementResponse receiveAgreement) {
if (receiveAgreement == null) {
throw new MissingRequiredPropertyException("AS2AgreementContentResponse", "receiveAgreement");
}
this.receiveAgreement = receiveAgreement;
return this;
}
@CustomType.Setter
public Builder sendAgreement(AS2OneWayAgreementResponse sendAgreement) {
if (sendAgreement == null) {
throw new MissingRequiredPropertyException("AS2AgreementContentResponse", "sendAgreement");
}
this.sendAgreement = sendAgreement;
return this;
}
public AS2AgreementContentResponse build() {
final var _resultValue = new AS2AgreementContentResponse();
_resultValue.receiveAgreement = receiveAgreement;
_resultValue.sendAgreement = sendAgreement;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy