com.pulumi.azurenative.logic.outputs.AgreementContentResponse 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.AS2AgreementContentResponse;
import com.pulumi.azurenative.logic.outputs.EdifactAgreementContentResponse;
import com.pulumi.azurenative.logic.outputs.X12AgreementContentResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AgreementContentResponse {
/**
* @return The AS2 agreement content.
*
*/
private @Nullable AS2AgreementContentResponse aS2;
/**
* @return The EDIFACT agreement content.
*
*/
private @Nullable EdifactAgreementContentResponse edifact;
/**
* @return The X12 agreement content.
*
*/
private @Nullable X12AgreementContentResponse x12;
private AgreementContentResponse() {}
/**
* @return The AS2 agreement content.
*
*/
public Optional aS2() {
return Optional.ofNullable(this.aS2);
}
/**
* @return The EDIFACT agreement content.
*
*/
public Optional edifact() {
return Optional.ofNullable(this.edifact);
}
/**
* @return The X12 agreement content.
*
*/
public Optional x12() {
return Optional.ofNullable(this.x12);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AgreementContentResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable AS2AgreementContentResponse aS2;
private @Nullable EdifactAgreementContentResponse edifact;
private @Nullable X12AgreementContentResponse x12;
public Builder() {}
public Builder(AgreementContentResponse defaults) {
Objects.requireNonNull(defaults);
this.aS2 = defaults.aS2;
this.edifact = defaults.edifact;
this.x12 = defaults.x12;
}
@CustomType.Setter
public Builder aS2(@Nullable AS2AgreementContentResponse aS2) {
this.aS2 = aS2;
return this;
}
@CustomType.Setter
public Builder edifact(@Nullable EdifactAgreementContentResponse edifact) {
this.edifact = edifact;
return this;
}
@CustomType.Setter
public Builder x12(@Nullable X12AgreementContentResponse x12) {
this.x12 = x12;
return this;
}
public AgreementContentResponse build() {
final var _resultValue = new AgreementContentResponse();
_resultValue.aS2 = aS2;
_resultValue.edifact = edifact;
_resultValue.x12 = x12;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy