in AwsEncryptionSDK/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/encryptionsdk/model/EncryptInput.java [184:201]
public EncryptInput build() {
if (Objects.isNull(this.plaintext())) {
throw new IllegalArgumentException(
"Missing value for required field `plaintext`"
);
}
if (this._frameLengthSet && this.frameLength() < 1) {
throw new IllegalArgumentException(
"`frameLength` must be greater than or equal to 1"
);
}
if (this._frameLengthSet && this.frameLength() > 4294967296L) {
throw new IllegalArgumentException(
"`frameLength` must be less than or equal to 4294967296."
);
}
return new EncryptInput(this);
}