ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSnowflake.fromMap constructor

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

Implementation

factory ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSnowflake.fromMap(Map<String, dynamic> map) {
  return ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSnowflake(
    accountName: (() { final guardedValue = map['accountName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    bucketName: pulumi.Input.fromValue(map['bucketName'] as String),
    bucketPrefix: (() { final guardedValue = map['bucketPrefix']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    privateLinkServiceName: (() { final guardedValue = map['privateLinkServiceName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    stage: pulumi.Input.fromValue(map['stage'] as String),
    warehouse: pulumi.Input.fromValue(map['warehouse'] as String),
  );
}