in DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/itemencryptor/model/ParsedHeader.java [261:293]
public ParsedHeader build() {
if (Objects.isNull(this.attributeActionsOnEncrypt())) {
throw new IllegalArgumentException(
"Missing value for required field `attributeActionsOnEncrypt`"
);
}
if (Objects.isNull(this.algorithmSuiteId())) {
throw new IllegalArgumentException(
"Missing value for required field `algorithmSuiteId`"
);
}
if (Objects.isNull(this.encryptedDataKeys())) {
throw new IllegalArgumentException(
"Missing value for required field `encryptedDataKeys`"
);
}
if (Objects.isNull(this.storedEncryptionContext())) {
throw new IllegalArgumentException(
"Missing value for required field `storedEncryptionContext`"
);
}
if (Objects.isNull(this.encryptionContext())) {
throw new IllegalArgumentException(
"Missing value for required field `encryptionContext`"
);
}
if (Objects.isNull(this.selectorContext())) {
throw new IllegalArgumentException(
"Missing value for required field `selectorContext`"
);
}
return new ParsedHeader(this);
}