FieldLevelEncryptionConfigContentTypeProfileConfigContentTypeProfilesItem.fromMap constructor

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

Implementation

factory FieldLevelEncryptionConfigContentTypeProfileConfigContentTypeProfilesItem.fromMap(Map<String, dynamic> map) {
  return FieldLevelEncryptionConfigContentTypeProfileConfigContentTypeProfilesItem(
    contentType: pulumi.Input.fromValue(map['contentType'] as String),
    format: pulumi.Input.fromValue(map['format'] as String),
    profileId: (() { final guardedValue = map['profileId']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}