AutoMLSecurityConfig.fromJson constructor

AutoMLSecurityConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AutoMLSecurityConfig.fromJson(Map<String, dynamic> json) {
  return AutoMLSecurityConfig(
    enableInterContainerTrafficEncryption:
        json['EnableInterContainerTrafficEncryption'] as bool?,
    volumeKmsKeyId: json['VolumeKmsKeyId'] as String?,
    vpcConfig: json['VpcConfig'] != null
        ? VpcConfig.fromJson(json['VpcConfig'] as Map<String, dynamic>)
        : null,
  );
}