EntityRecognizerInputDataConfigDocuments.fromMap constructor

EntityRecognizerInputDataConfigDocuments.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory EntityRecognizerInputDataConfigDocuments.fromMap(Map<String, dynamic> map) {
  return EntityRecognizerInputDataConfigDocuments(
    inputFormat: (() { final guardedValue = map['inputFormat']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    s3Uri: pulumi.Input.fromValue(map['s3Uri'] as String),
    testS3Uri: (() { final guardedValue = map['testS3Uri']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}